Skip to content

Commit

Permalink
fix: handle empty ToC position value
Browse files Browse the repository at this point in the history
  • Loading branch information
NGPixel committed Feb 17, 2023
1 parent e495e0a commit 490fab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/master.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 490fab1

Please sign in to comment.