From 6ccd6cd5bec3ae91aa7c4453ca4efb574ef03325 Mon Sep 17 00:00:00 2001 From: Matteo Nastasi Date: Sat, 18 Apr 2020 14:12:01 +0200 Subject: [PATCH] typo fixed --- web/prefs.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/web/prefs.js b/web/prefs.js index 83f3d31..dd09623 100644 --- a/web/prefs.js +++ b/web/prefs.js @@ -64,8 +64,8 @@ function prefs_apply(prefs_new, is_update, is_volat) } if (relo || !is_update) { - $('tr.noauth').style.display = (prefs_new.listen == l_list_isol ? 'none' : ''); - $('td.noauth').style.display = (prefs_new.listen == l_list_isol ? 'none' : ''); + $('tr.noauth').css("display", (prefs_new.listen == l_list_isol ? 'none' : '')); + $('td.noauth').css("display", (prefs_new.listen == l_list_isol ? 'none' : '')); if (prefs_new.listen == l_list_isol) { tra.hide_noauth(); @@ -201,8 +201,8 @@ function list_set(what, is_update, info) if (relo || !is_update) { - $('tr.noauth').style.display = (what == 'isolation' ? 'none' : ''); - $('td.noauth').style.display = (what == 'isolation' ? 'none' : ''); + $('tr.noauth').css("display", (what == 'isolation' ? 'none' : '')); + $('td.noauth').css("display", (what == 'isolation' ? 'none' : '')); if (what == 'isolation') { tra.hide_noauth(); -- 2.17.1