same as last commit

pull/138/head
Aevann 2023-03-07 07:38:55 +02:00
parent bdde66f020
commit f202188d66
1 changed files with 1 additions and 1 deletions

View File

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