1
0
Fork 0
This commit is contained in:
Z 2021-06-13 21:13:37 +01:00
parent cea21b266f
commit d5082db30b

View file

@ -52,7 +52,7 @@ async function onLoad(): Promise<void> {
pageTitleElement: document.querySelector("#pageTitle"), pageTitleElement: document.querySelector("#pageTitle"),
pageContentElement: document.querySelector("#pageContent"), pageContentElement: document.querySelector("#pageContent"),
resetElementContent: !true, resetElementContent: !true,
onPageChanged: async function (_) { onPageChange: async function (_) {
pageState.currentPage = await pageRouter.getCurrentPageID(); pageState.currentPage = await pageRouter.getCurrentPageID();
document.documentElement.dir = pageState.pageDirection; document.documentElement.dir = pageState.pageDirection;
}, },