summaryrefslogtreecommitdiffstats
path: root/interface/js/app/upload.js
diff options
context:
space:
mode:
Diffstat (limited to 'interface/js/app/upload.js')
-rw-r--r--interface/js/app/upload.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface/js/app/upload.js b/interface/js/app/upload.js
index 3800ca23f..01031c4a0 100644
--- a/interface/js/app/upload.js
+++ b/interface/js/app/upload.js
@@ -171,7 +171,7 @@ define(["jquery", "app/rspamd"],
rspamd.alertMessage("alert-success", "Data successfully scanned");
const rows_total = $("#historyTable_scan > tbody > tr:not(.footable-detail-row)").length + 1;
- const o = rspamd.process_history_v2({rows:[json]}, "scan");
+ const o = rspamd.process_history_v2({rows: [json]}, "scan");
const items = o.items;
rspamd.symbols.scan.push(o.symbols[0]);
@@ -269,7 +269,7 @@ define(["jquery", "app/rspamd"],
$("#scanForm")[0].reset();
$("#scanResult").hide();
$("#scanOutput tbody").remove();
- $("html, body").animate({scrollTop:0}, 1000);
+ $("html, body").animate({scrollTop: 0}, 1000);
return false;
});