aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js
diff options
context:
space:
mode:
Diffstat (limited to 'interface/js')
-rw-r--r--interface/js/app/rspamd.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/interface/js/app/rspamd.js b/interface/js/app/rspamd.js
index 75743ac0c..61b7cf155 100644
--- a/interface/js/app/rspamd.js
+++ b/interface/js/app/rspamd.js
@@ -92,7 +92,7 @@ define(["jquery", "app/common", "stickytabs", "visibility",
tab_id = "#" + $(".nav-link.active").attr("id");
}
- $("#autoRefresh").hide();
+ $("#autoRefresh").addClass("invisible");
$("#refresh").addClass("radius-right");
function setAutoRefresh(refreshInterval, timer, callback) {
@@ -113,7 +113,7 @@ define(["jquery", "app/common", "stickytabs", "visibility",
}
$("#refresh").removeClass("radius-right");
- $("#autoRefresh").show();
+ $("#autoRefresh").removeClass("invisible");
countdown(refreshInterval);
if (!refreshInterval) return;
@@ -126,9 +126,9 @@ define(["jquery", "app/common", "stickytabs", "visibility",
}
if (["#scan_nav", "#selectors_nav", "#disconnect"].indexOf(tab_id) !== -1) {
- $("#refresh").hide();
+ $("#refresh").addClass("invisible");
} else {
- $("#refresh").show();
+ $("#refresh").removeClass("invisible");
}
switch (tab_id) {