adjust static variables with card dimensions
[brisk.git] / web / ticker.js
index 5269608..b18bfa9 100644 (file)
@@ -1,7 +1,7 @@
 /*
  *  brisk - ticker.js
  *
- *  Copyright (C) 2006-2011 Matteo Nastasi
+ *  Copyright (C) 2006-2012 Matteo Nastasi
  *                          mailto: nastasi@alternativeoutput.it 
  *                                  matteo.nastasi@milug.org
  *                          web: http://www.alternativeoutput.it
@@ -345,7 +345,7 @@ function wagon(anc, table, title) {
     addEvent(this.box, "click",     function() { this.anc.cb_click(); }     );
 
     
-    if (g_listen & l_list_isol && table >= g_tables_auth_n) {
+    if (g_prefs.listen & l_list_isol && table >= g_tables_auth_n) {
         this.box.style.visibility = "hidden";
     }
     this.anc.box.appendChild(box);