diff options
author | moisseev <moiseev@mezonplus.ru> | 2019-06-05 19:07:16 +0300 |
---|---|---|
committer | moisseev <moiseev@mezonplus.ru> | 2019-06-05 19:07:16 +0300 |
commit | e541b0097024dd60170de6c2e9926cb9de59123c (patch) | |
tree | 2c15b1247a7cd63e14c9723b069ba3c1a2f34961 /interface | |
parent | 561c57859d7a2c04e836ceaa6d1a554e82a43766 (diff) | |
download | rspamd-e541b0097024dd60170de6c2e9926cb9de59123c.tar.gz rspamd-e541b0097024dd60170de6c2e9926cb9de59123c.zip |
[WebUI] Scan/Learn: enable/disable buttons on mouse events
(drag-and-drop and context menu cut, delete, paste)
Diffstat (limited to 'interface')
-rw-r--r-- | interface/js/app/upload.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/js/app/upload.js b/interface/js/app/upload.js index 2837ff666..a89a8a61a 100644 --- a/interface/js/app/upload.js +++ b/interface/js/app/upload.js @@ -151,7 +151,7 @@ define(["jquery"], } $("#scan button").attr("disabled", true); - $("textarea").keyup(function () { + $("textarea").on("input", function () { var $this = $(this); $("#scan button") .prop("disabled", ($.trim($this.val()).length === 0)); |