mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Chrome particularity
This commit is contained in:
parent
7bc9a96524
commit
f7ca97f7ef
@ -119,7 +119,8 @@ function reloadContent(id, url, options, side, noneStr) {
|
|||||||
$("#" + current).empty();
|
$("#" + current).empty();
|
||||||
|
|
||||||
let items = Object.entries(data).sort(function(a, b) {
|
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) {
|
for (var [value, label] of items) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user