diff options
author | Alexander Moisseev <moiseev@mezonplus.ru> | 2016-12-13 19:09:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-13 19:09:43 +0300 |
commit | 32207f69474d11a61adaa0627d0830a38a8063ca (patch) | |
tree | 594d5e7a8c49ebdc5a0bd67997ad7a9c457e7c37 /interface/js/rspamd.js | |
parent | 634a8b69dd407a79ca2fae32493710985bffa32c (diff) | |
download | rspamd-32207f69474d11a61adaa0627d0830a38a8063ca.tar.gz rspamd-32207f69474d11a61adaa0627d0830a38a8063ca.zip |
[WebUI] Remove unused code
I believe this code in not necessary. It doesn't work anyway: `e` != `event`
Diffstat (limited to 'interface/js/rspamd.js')
-rw-r--r-- | interface/js/rspamd.js | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/interface/js/rspamd.js b/interface/js/rspamd.js index 223933473..742302bd7 100644 --- a/interface/js/rspamd.js +++ b/interface/js/rspamd.js @@ -396,11 +396,7 @@ $(document).on('click', '[data-dismiss="modal"]', function (e) { $('#modalBody form').hide(); }); - $(document).on('click', '', function (e) { - if (event.target == document.getElementById('modalDialog')) { - $('#modalBody form').hide(); - } - }); + function getChart() { $.ajax({ dataType: 'json', |