Merge pull request #1796 from desertwitch/desertwitch-patch-1

fix table order breaking when cookie is left malformed
This commit is contained in:
tom mortensen
2024-07-24 00:37:19 -07:00
committed by GitHub

View File

@@ -1188,6 +1188,7 @@ function SleepNow() {
function sortTables() {
$('table.dashboard').each(function(){
var table = $(this);
sanitizeMultiCookie(table.prop('id'), ';', true);
var index = $.cookie(table.prop('id'));
// sorting list exists
if (index != null) {