Просмотр исходного кода

Changed function called on setTimeout

Henry Whitaker 6 лет назад
Родитель
Сommit
7fe551b6c5
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      js/functions.js

+ 2 - 2
js/functions.js

@@ -6808,9 +6808,9 @@ function homepageMonitorr(timeout){
     }).fail(function(xhr) {
         console.error("Organizr Function: API Connection Failed");
     });
-    var timeoutTitle = 'PiHole-Homepage';
+    var timeoutTitle = 'Monitorr-Homepage';
     if(typeof timeouts[timeoutTitle] !== 'undefined'){ clearTimeout(timeouts[timeoutTitle]); }
-    timeouts[timeoutTitle] = setTimeout(function(){ homepagePihole(timeout); }, timeout);
+    timeouts[timeoutTitle] = setTimeout(function(){ homepageMonitorr(timeout); }, timeout);
 }
 // Thanks Swifty!
 function PopupCenter(url, title, w, h) {