X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fstatic%2Fwclib.js;h=6fddde5c814f11e7b156b6c941c0f0875e4a40f9;hb=dd8f05b673c18fbb6f3207c33af821989fc85bbd;hp=bb193c7b2b5f04d468ac085b35dbb00472e612ba;hpb=51e39bfff433edfeec0613a94feb17c950342e3c;p=citadel.git diff --git a/webcit/static/wclib.js b/webcit/static/wclib.js index bb193c7b2..6fddde5c8 100644 --- a/webcit/static/wclib.js +++ b/webcit/static/wclib.js @@ -163,9 +163,8 @@ function setupIconBar() { } } var online_users = document.getElementById("online_users"); - if (online_users.offsetParent != null && online_users.offsetTop > 0) { - new Ajax.PeriodicalUpdater('online_users', 'do_template?template=who_iconbar', {method: 'get', frequency: 30}); - } + /* FIXME is there a way to not update this div when it is not showing? */ + new Ajax.PeriodicalUpdater('online_users', 'do_template?template=who_iconbar', {method: 'get', frequency: 30}); } function changeIconBarEvent(event) { changeIconBar(event.target);