diff options
Diffstat (limited to 'interface/js')
-rw-r--r-- | interface/js/rspamd.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/interface/js/rspamd.js b/interface/js/rspamd.js index e11c0b3ba..3a38a326b 100644 --- a/interface/js/rspamd.js +++ b/interface/js/rspamd.js @@ -947,12 +947,11 @@ } // @close scan output $('#scanClean').on('click', function () { - $('#scanTextSource').val(''); + $('#scanTextSource').val(""); $('#scanResult').hide(); $('#scanOutput tbody').remove(); - $('html, body').animate({ - scrollTop: 0 - }, 1000); + $('html, body').animate({scrollTop: 0}, 1000); + return false; }); // @init upload $('[data-upload]').on('click', function () { |