1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-12 10:00:52 +01:00

Fixed documentation for tablesort

This commit is contained in:
squidfunk 2020-08-18 20:04:47 +02:00
parent e209f9de3b
commit 3d1491e623

View File

@ -123,7 +123,7 @@ loading][6] via [additional JavaScript][2]:
=== "docs/javascripts/tables.js"
``` js
app.location$.subscribe(function() {
app.document$.subscribe(function() {
var tables = document.querySelectorAll("article table")
tables.forEach(function(table) {
new Tablesort(table)