정렬 표시 화살표 간격 조정

master
mjkhan21 4 months ago
parent 8ecc47730b
commit 082f596e0a

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

Loading…
Cancel
Save