aboutsummaryrefslogtreecommitdiff
path: root/docs/_javascript/tablesort.js
diff options
context:
space:
mode:
Diffstat (limited to 'docs/_javascript/tablesort.js')
-rw-r--r--docs/_javascript/tablesort.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/_javascript/tablesort.js b/docs/_javascript/tablesort.js
new file mode 100644
index 000000000..ee04e9008
--- /dev/null
+++ b/docs/_javascript/tablesort.js
@@ -0,0 +1,6 @@
+document$.subscribe(function () {
+ var tables = document.querySelectorAll("article table:not([class])")
+ tables.forEach(function (table) {
+ new Tablesort(table)
+ })
+}) \ No newline at end of file