1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-13 09:46:23 +00:00
Files
geek-cookbook/manuscript/extras/javascript/sortable-tables.js
David Young 1e5cd5df29 Add Linx, apply formatting fixes (#145)
* Add Linx, apply formatting fixes
Fixes #143

Signed-off-by: David Young <davidy@funkypenguin.co.nz>

* Add macros plugin

Signed-off-by: David Young <davidy@funkypenguin.co.nz>
2021-01-13 12:36:50 +13:00

6 lines
172 B
JavaScript

app.document$.subscribe(function() {
var tables = document.querySelectorAll("article table")
tables.forEach(function(table) {
new Tablesort(table)
})
})