diff --git a/src/client/init.ts b/src/client/init.ts index 5d9828af0..4af6f2578 100644 --- a/src/client/init.ts +++ b/src/client/init.ts @@ -87,7 +87,7 @@ if (_DEV_) { // タッチデバイスでCSSの:hoverを機能させる document.addEventListener('touchend', () => {}, { passive: true }); -if (localStorage.getItem('theme') == null) { +if (localStorage.theme == null) { applyTheme(require('@/themes/l-light.json5')); }