aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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',