summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-12-26 23:18:51 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-12-26 23:18:51 +0900
commit167da988da1db7fb6fba61623f71efd49876f538 (patch)
treeaee4889779e52691f39ff6c257e637c04299606b /src
parentadd note (diff)
downloadsharkey-167da988da1db7fb6fba61623f71efd49876f538.tar.gz
sharkey-167da988da1db7fb6fba61623f71efd49876f538.tar.bz2
sharkey-167da988da1db7fb6fba61623f71efd49876f538.zip
:sparkles:
Diffstat (limited to 'src')
-rw-r--r--src/client/init.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/init.ts b/src/client/init.ts
index 5d9828af07..4af6f25780 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'));
}