diff --git a/repo/font-chooser/mod.js b/repo/font-chooser/mod.js index 03cd2ca..5d63c74 100644 --- a/repo/font-chooser/mod.js +++ b/repo/font-chooser/mod.js @@ -48,7 +48,7 @@ module.exports = { if (!document.querySelector('.notion-app-inner')) return; clearInterval(attempt_interval); for (let style of ['sans', 'serif', 'mono', 'code']) { - if (!store()[style]) return; + if (!store()[style]) continue; document .querySelector('.notion-app-inner') .style.setProperty(`--theme--font_${style}`, store()[style]);