ming преди 4 години
родител
ревизия
1f77c4cabf
променени са 1 файла, в които са добавени 7 реда и са изтрити 1 реда
  1. 7 1
      similar_web/index2.html

+ 7 - 1
similar_web/index2.html

@@ -341,7 +341,13 @@
           sitetitle.textContent = response.Title;
           countryrank.textContent = response.CountryRank;
           category.textContent = response.Category;
-          $('#maxflow').html(response.totalVisits)
+          if(response.totalVisits!=-1){
+            $('#maxflow').html(response.totalVisits)
+          }
+          else{
+            $('#maxflow').html("N/A")
+          }
+          
           key_ary = [];
           val_ary = [];