aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js/rspamd.js
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2016-12-13 19:09:43 +0300
committerGitHub <noreply@github.com>2016-12-13 19:09:43 +0300
commit32207f69474d11a61adaa0627d0830a38a8063ca (patch)
tree594d5e7a8c49ebdc5a0bd67997ad7a9c457e7c37 /interface/js/rspamd.js
parent634a8b69dd407a79ca2fae32493710985bffa32c (diff)
downloadrspamd-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.js6
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',