Merge pull request #864 from imrahil/fix_log_files_sort
Fixed sorting log files on settings dialog
This commit is contained in:
commit
edd6acc012
1 changed files with 2 additions and 2 deletions
|
|
@ -22,8 +22,8 @@ $(function() {
|
|||
},
|
||||
"size": function(a, b) {
|
||||
// sorts descending
|
||||
if (a["bytes"] > b["bytes"]) return -1;
|
||||
if (a["bytes"] < b["bytes"]) return 1;
|
||||
if (a["size"] > b["size"]) return -1;
|
||||
if (a["size"] < b["size"]) return 1;
|
||||
return 0;
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue