From d5082db30bb673a1b334d481c322224133ceb975 Mon Sep 17 00:00:00 2001 From: Z Date: Sun, 13 Jun 2021 21:13:37 +0100 Subject: [PATCH] typo --- src/main.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.tsx b/src/main.tsx index aa34724..f51f9b0 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -52,7 +52,7 @@ async function onLoad(): Promise { pageTitleElement: document.querySelector("#pageTitle"), pageContentElement: document.querySelector("#pageContent"), resetElementContent: !true, - onPageChanged: async function (_) { + onPageChange: async function (_) { pageState.currentPage = await pageRouter.getCurrentPageID(); document.documentElement.dir = pageState.pageDirection; },