Skip to content

Commit

Permalink
docs: fix sort-able tables
Browse files Browse the repository at this point in the history
  • Loading branch information
jef authored Sep 1, 2021
1 parent 1e76d5a commit 08789a7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/javascripts/tables.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
app.document$.subscribe(() => {
const tables = document.querySelectorAll('article table');
tables.forEach(table => {
new Tablesort(table);
});
});
document$.subscribe(function() {
var tables = document.querySelectorAll("article table")
tables.forEach(function(table) {
new Tablesort(table)
})
})

0 comments on commit 08789a7

Please sign in to comment.