same as last commit
parent
bdde66f020
commit
f202188d66
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue