aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js
diff options
context:
space:
mode:
authormoisseev <moiseev@mezonplus.ru>2023-11-20 14:15:56 +0300
committermoisseev <moiseev@mezonplus.ru>2023-11-20 14:15:56 +0300
commitb8cd1edebce5a60d3c67b31b15cc930d4d64dc57 (patch)
tree05a18901e28f8d2ee7e4099e4cacd990c21f8c97 /interface/js
parent5667878f06839c25fd6867d7ec3ef5b22bdccf84 (diff)
downloadrspamd-b8cd1edebce5a60d3c67b31b15cc930d4d64dc57.tar.gz
rspamd-b8cd1edebce5a60d3c67b31b15cc930d4d64dc57.zip
[Minor] Use consistent function style
Diffstat (limited to 'interface/js')
-rw-r--r--interface/js/app/history.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/interface/js/app/history.js b/interface/js/app/history.js
index 5d5b9068e..3d06f667c 100644
--- a/interface/js/app/history.js
+++ b/interface/js/app/history.js
@@ -33,9 +33,7 @@ define(["jquery", "app/rspamd", "d3", "footable"],
function process_history_legacy(data) {
const items = [];
- const compare = function (e1, e2) {
- return e1.name.localeCompare(e2.name);
- };
+ function compare(e1, e2) { return e1.name.localeCompare(e2.name); }
$("#selSymOrder_history, label[for='selSymOrder_history']").hide();