diff options
author | moisseev <moiseev@mezonplus.ru> | 2021-06-16 11:19:52 +0300 |
---|---|---|
committer | moisseev <moiseev@mezonplus.ru> | 2021-06-16 18:16:20 +0300 |
commit | 517c412bbd1d0419bc198591b70a89a5d425ed91 (patch) | |
tree | bbe0c11fbd876b60b17d990171c682fd30b3706a /interface/js/app | |
parent | a4fe264d7f4124ac7ee5fcb3ddf47791e9ef2c03 (diff) | |
download | rspamd-517c412bbd1d0419bc198591b70a89a5d425ed91.tar.gz rspamd-517c412bbd1d0419bc198591b70a89a5d425ed91.zip |
[WebUI] Fix click on icons inside buttons
Diffstat (limited to 'interface/js/app')
-rw-r--r-- | interface/js/app/rspamd.js | 6 |
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(); |