Skip to content

Commit

Permalink
fix simple mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Mineev authored and umputun committed Jul 22, 2022
1 parent 3d1a3fd commit 5db6e43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/apps/remark42/app/remark.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ async function init(): Promise<void> {
const config = await getConfig();
StaticStore.config = {
...config,
simple_view: rawParams.simple_view === undefined || rawParams.simple_view === 'true',
simple_view: config.simple_view || rawParams.simple_view === 'true',
};

render(
Expand Down

0 comments on commit 5db6e43

Please sign in to comment.