Skip to content

Commit 1a15502

Browse files
committed
mkdocs sortable tables.js
1 parent 1696499 commit 1a15502

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/javascripts/tables.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
app.location$.subscribe(function() {
2+
var tables = document.querySelectorAll("article table")
3+
tables.forEach(function(table) {
4+
new Tablesort(table)
5+
})
6+
})

0 commit comments

Comments
 (0)