tabi-lean/static/js
welpo e1dfd2ea07
🐛 fix: properly initialise currentTheme
The `currentTheme` variable is now properly initialized when setting
the initial theme, which fixes the "extra click" issue observed when system preference
is `dark` and there's no saved theme in localStorage.

Also minifies the themeSwitcher.

Fixes #94
2023-07-25 00:40:45 +02:00
..
copyCodeToClipboard.js feat: add copy button to code blocks 2023-07-07 22:03:47 +02:00
copyCodeToClipboard.min.js 🚚 chore(js): rename minified files 2023-07-17 20:40:48 +02:00
giscus.js feat: add support for giscus and utterances 2023-07-14 21:22:23 +02:00
giscus.min.js 🚚 chore(js): rename minified files 2023-07-17 20:40:48 +02:00
hyvortalk.js feat: add support for Hyvor Talk comments 2023-07-17 20:10:18 +02:00
hyvortalk.min.js 🚚 chore(js): rename minified files 2023-07-17 20:40:48 +02:00
initializeTheme.js feat: add support for giscus & utterances comments 2023-07-12 18:44:28 +02:00
initializeTheme.min.js 🚚 chore(js): rename minified files 2023-07-17 20:40:48 +02:00
katex.min.js 🚚 chore(js): rename minified files 2023-07-17 20:40:48 +02:00
loadComments.js feat: add support for giscus and utterances 2023-07-14 21:22:23 +02:00
loadComments.min.js 🚚 chore(js): rename minified files 2023-07-17 20:40:48 +02:00
themeSwitcher.js 🐛 fix: properly initialise currentTheme 2023-07-25 00:40:45 +02:00
themeSwitcher.min.js 🐛 fix: properly initialise currentTheme 2023-07-25 00:40:45 +02:00
utterances.js feat: add support for giscus and utterances 2023-07-14 21:22:23 +02:00
utterances.min.js 🚚 chore(js): rename minified files 2023-07-17 20:40:48 +02:00