Skip to content

Commit 30e4d97

Browse files
Update webroot/js/sort.js
Co-authored-by: Copilot <[email protected]>
1 parent a1b098c commit 30e4d97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webroot/js/sort.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
rows.forEach(function (row) {
3232
tbody.appendChild(row);
3333
});
34-
document.querySelectorAll("th").forEach(function (header) {
34+
table.querySelectorAll("th").forEach(function (header) {
3535
header.innerHTML = header.innerHTML.replace(/ | /, "");
3636
});
3737
var orderSymbol = order == 1 ? "&#x25B2;" : "&#x25BC;";

0 commit comments

Comments
 (0)