From: David ‘Bombe’ Roden Date: Fri, 31 Dec 2010 10:23:27 +0000 (+0100) Subject: Reactivate status polling on all pages, it’s necessary for the notifications. X-Git-Tag: beta-freefall-0.6.2-1~159 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=62aafa07b6839e94485f5a11d1abea9589ef0ff5;p=Sone.git Reactivate status polling on all pages, it’s necessary for the notifications. --- diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index 803774a..8a3780f 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -954,9 +954,7 @@ $(document).ready(function() { }); /* activate status polling. */ - if ((getPageId() != undefined) && (getPageId() != "login")) { - setTimeout(getStatus, 5000); - } + setTimeout(getStatus, 5000); /* reset activity counter when the page has focus. */ $(window).focus(function() {