1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-13 17:56:26 +00:00
Files
geek-cookbook/manuscript/extras/javascript/tablesort.js
David Young a266997126 Tidy up js
Signed-off-by: David Young <davidy@funkypenguin.co.nz>
2022-07-11 17:42:10 +12:00

7 lines
172 B
JavaScript

document$.subscribe(function() {
var tables = document.querySelectorAll("article table:not([class])")
tables.forEach(function(table) {
new Tablesort(table)
})
})