From 3d1491e62347bcc91d5a75063e86e5b2611acb5f Mon Sep 17 00:00:00 2001 From: squidfunk Date: Tue, 18 Aug 2020 20:04:47 +0200 Subject: [PATCH] Fixed documentation for tablesort --- docs/reference/data-tables.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/data-tables.md b/docs/reference/data-tables.md index a62f3ec0b..cfdc581af 100644 --- a/docs/reference/data-tables.md +++ b/docs/reference/data-tables.md @@ -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)