Skip to content

Commit f0e53d3

Browse files
Copilotsabaronett
andauthored
Fix sort icons to only show on sortable table headers
Agent-Logs-Url: https://github.com/pfitsplus/pfitsplus.github.io/sessions/0f277318-aa7e-418a-afa1-510abeb138ad Co-authored-by: sabaronett <51060809+sabaronett@users.noreply.github.com>
1 parent 3bbba40 commit f0e53d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

assets/js/init-sortable-tables.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ document.addEventListener("DOMContentLoaded", function () {
5555
}
5656
}
5757

58-
document.querySelectorAll("table").forEach((table) => {
58+
document.querySelectorAll("table.js-sort-table").forEach((table) => {
5959
addSortIcons(table);
6060

6161
const headers = table.querySelectorAll("thead th");

0 commit comments

Comments
 (0)