Chrome particularity

This commit is contained in:
fbsanchez 2020-05-29 11:12:13 +02:00
parent 7bc9a96524
commit f7ca97f7ef
1 changed files with 2 additions and 1 deletions

View File

@ -119,7 +119,8 @@ function reloadContent(id, url, options, side, noneStr) {
$("#" + current).empty();
let items = Object.entries(data).sort(function(a, b) {
return a[1] >= b[1];
if (a[1] == b[1]) return 0;
return a[1] > b[1] ? 1 : -1;
});
for (var [value, label] of items) {