aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js/app
diff options
context:
space:
mode:
Diffstat (limited to 'interface/js/app')
-rw-r--r--interface/js/app/rspamd.js8
1 files changed, 0 insertions, 8 deletions
diff --git a/interface/js/app/rspamd.js b/interface/js/app/rspamd.js
index f08363c62..cfc366a5c 100644
--- a/interface/js/app/rspamd.js
+++ b/interface/js/app/rspamd.js
@@ -278,17 +278,9 @@ function ($, D3pie, visibility, NProgress, stickyTabs, tab_stat, tab_graph, tab_
if (ui.read_only) {
$(".ro-disable").attr("disabled", true);
$(".ro-hide").hide();
- $(".learn").hide();
- $("#resetHistory").attr("disabled", true);
- $("#errors-history").hide();
- $("#selectors_nav").hide();
} else {
$(".ro-disable").removeAttr("disabled", true);
$(".ro-hide").show();
- $(".learn").show();
- $("#resetHistory").removeAttr("disabled", true);
- $("#errors-history").show();
- $("#selectors_nav").show();
}
var buttons = $("#navbar-btn-form");