aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js/app
diff options
context:
space:
mode:
Diffstat (limited to 'interface/js/app')
-rw-r--r--interface/js/app/rspamd.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/interface/js/app/rspamd.js b/interface/js/app/rspamd.js
index 2f1b88aa0..1679db1b3 100644
--- a/interface/js/app/rspamd.js
+++ b/interface/js/app/rspamd.js
@@ -498,12 +498,12 @@ function ($, D3pie, visibility, NProgress, stickyTabs, tab_stat, tab_graph, tab_
}, 1000);
});
- $('a[data-toggle="tab"]').on("shown.bs.tab", function (e) {
- tabClick("#" + $(e.target).attr("id"));
+ $('a[data-toggle="tab"]').on("shown.bs.tab", function () {
+ tabClick("#" + $(this).attr("id"));
});
$("#refresh, #disconnect").on("click", function (e) {
e.preventDefault();
- tabClick("#" + $(e.target).attr("id"));
+ tabClick("#" + $(this).attr("id"));
});
$(".dropdown-menu a").click(function (e) {
e.preventDefault();