minor fix to sorting tables

master
Aevann1 2022-12-10 13:57:23 +02:00
parent 1886dd986e
commit e1d5b8eb88
1 changed files with 1 additions and 1 deletions

View File

@ -419,7 +419,7 @@ function sort_table(t) {
attr = parseInt(x.dataset.time);
} else {
attr = x.innerText
if (/^[\d-,]+$/.test(attr)) {
if (/^[\d-,]+$/.test(x.innerHTML)) {
attr = parseInt(attr.replace(/,/g, ''))
}
}