From 490fab11737172de77f412c1f972b7d04ed591aa Mon Sep 17 00:00:00 2001 From: NGPixel Date: Thu, 16 Feb 2023 23:58:52 -0500 Subject: [PATCH] fix: handle empty ToC position value --- server/master.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/master.js b/server/master.js index bc354a9e..0679777e 100644 --- a/server/master.js +++ b/server/master.js @@ -149,7 +149,7 @@ module.exports = async () => { title: WIKI.config.title, theme: WIKI.config.theming.theme, darkMode: WIKI.config.theming.darkMode, - tocPosition: WIKI.config.theming.tocPosition, + tocPosition: WIKI.config.theming.tocPosition || 'left', lang: WIKI.config.lang.code, rtl: WIKI.config.lang.rtl, company: WIKI.config.company,