|
|
@ -808,9 +808,9 @@ var sorting = {
|
|
|
|
document.querySelectorAll("th[data-field]").forEach(th => {
|
|
|
|
document.querySelectorAll("th[data-field]").forEach(th => {
|
|
|
|
let inner = th.innerHTML;
|
|
|
|
let inner = th.innerHTML;
|
|
|
|
|
|
|
|
|
|
|
|
inner = inner.replace(/⯅/gi, "").replace(/⯆/gi, "");
|
|
|
|
inner = inner.replace(/ ⯅/gi, "").replace(/ ⯆/gi, "");
|
|
|
|
if (th.getAttribute("data-field") == sorter.by)
|
|
|
|
if (th.getAttribute("data-field") == sorter.by)
|
|
|
|
inner += sorting[sorter.order] || "";
|
|
|
|
inner += " " + sorting[sorter.order] || "";
|
|
|
|
th.innerHTML = inner;
|
|
|
|
th.innerHTML = inner;
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|