Initial workup of click-to-expand iconbar wholist.
[citadel.git] / webcit / static / wclib.js
index bb193c7b2b5f04d468ac085b35dbb00472e612ba..6fddde5c814f11e7b156b6c941c0f0875e4a40f9 100644 (file)
@@ -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);