aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js/app/upload.js
diff options
context:
space:
mode:
authormoisseev <moiseev@mezonplus.ru>2023-11-19 18:31:57 +0300
committermoisseev <moiseev@mezonplus.ru>2023-11-19 18:31:57 +0300
commita592c2a341db27cfac0a894b49eb922e56138004 (patch)
treeb806ee53e1d96917f5068ee8a0432f51730a3652 /interface/js/app/upload.js
parentab1b0baf1f63b57ae1e04093235d1e7c5603bd57 (diff)
downloadrspamd-a592c2a341db27cfac0a894b49eb922e56138004.tar.gz
rspamd-a592c2a341db27cfac0a894b49eb922e56138004.zip
[Test] Enforce maximum line length
Diffstat (limited to 'interface/js/app/upload.js')
-rw-r--r--interface/js/app/upload.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/interface/js/app/upload.js b/interface/js/app/upload.js
index 26bb82e8d..3800ca23f 100644
--- a/interface/js/app/upload.js
+++ b/interface/js/app/upload.js
@@ -256,7 +256,8 @@ define(["jquery", "app/rspamd"],
});
function enable_disable_scan_btn() {
- $("#scan button:not(#cleanScanHistory, #scanOptionsToggle)").prop("disabled", ($.trim($("textarea").val()).length === 0));
+ $("#scan button:not(#cleanScanHistory, #scanOptionsToggle)")
+ .prop("disabled", ($.trim($("textarea").val()).length === 0));
}
enable_disable_scan_btn();
$("textarea").on("input", function () {