diff options
author | Alexander Moisseev <moiseev@mezonplus.ru> | 2018-08-02 10:15:11 +0300 |
---|---|---|
committer | Alexander Moisseev <moiseev@mezonplus.ru> | 2018-08-02 10:15:11 +0300 |
commit | 0760edc8f450f1c7412980992f768d46bc136f95 (patch) | |
tree | 7b53f4978b73704a7b5029624bb71af4f08903e6 /interface | |
parent | 6bf95e77a1d61ecd7b3fd92543b74b067bc679d1 (diff) | |
download | rspamd-0760edc8f450f1c7412980992f768d46bc136f95.tar.gz rspamd-0760edc8f450f1c7412980992f768d46bc136f95.zip |
[WebUI] Fix symbols sorting by score
on Chromium-like browsers
Diffstat (limited to 'interface')
-rw-r--r-- | interface/js/app/history.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/js/app/history.js b/interface/js/app/history.js index 2807bac41..d3dc0873f 100644 --- a/interface/js/app/history.js +++ b/interface/js/app/history.js @@ -123,7 +123,7 @@ define(["jquery", "footable", "humanize"], } var compare = (getSelector("selSymOrder") === "score") ? function (e1, e2) { - return Math.abs(e1.score) < Math.abs(e2.score); + return Math.abs(e2.score) - Math.abs(e1.score); } : function (e1, e2) { return e1.name.localeCompare(e2.name); |