dev stuff [3]
[brisk.git] / web / prefs.js
index 69eb9a8..c131cab 100644 (file)
@@ -65,7 +65,7 @@ function prefs_apply(prefs_new, is_update, is_volat)
     }
 
     if (relo || !is_update) {
-        for (i = g_tables_auth_n ; i < g_tables_n ; i++) {
+        for (i = g_tables_appr_n ; i < g_tables_n ; i++) {
             if (i % 4 == 0) {
                 $('tr_noauth'+i).style.display = (prefs_new.listen == l_list_isol ? 'none' : '');
             }
@@ -79,8 +79,9 @@ function prefs_apply(prefs_new, is_update, is_volat)
             tra.show_noauth();
         }
 
-        if (false) {
+        if (true) {
             // ricalculation of standup area
+            g_prefs.listen = prefs_new.listen;
             if (standup_data_old != null) {
                 standup_data = standup_data_old;
                 standup_data_old = null;