diff --git a/src/main/webapp/resources/js/base/base.js b/src/main/webapp/resources/js/base/base.js index ba24d8e..3a70868 100644 --- a/src/main/webapp/resources/js/base/base.js +++ b/src/main/webapp/resources/js/base/base.js @@ -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; }); }