summaryrefslogtreecommitdiff
path: root/src/client/init.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-12-28 23:41:41 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-12-28 23:41:41 +0900
commitc6b25f317ea2f8b01655fbef4d2abdac7c22c0c1 (patch)
treee28e1d093b142ab546685d544f0dbc08130356ec /src/client/init.ts
parentfix bug (diff)
downloadsharkey-c6b25f317ea2f8b01655fbef4d2abdac7c22c0c1.tar.gz
sharkey-c6b25f317ea2f8b01655fbef4d2abdac7c22c0c1.tar.bz2
sharkey-c6b25f317ea2f8b01655fbef4d2abdac7c22c0c1.zip
locale migration
Diffstat (limited to 'src/client/init.ts')
-rw-r--r--src/client/init.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/init.ts b/src/client/init.ts
index 9f4641a34e..9683075785 100644
--- a/src/client/init.ts
+++ b/src/client/init.ts
@@ -31,6 +31,7 @@ if (localStorage.getItem('vuex') != null) {
localStorage.setItem('vuex-old', JSON.stringify(vuex));
localStorage.removeItem('vuex');
localStorage.removeItem('i');
+ localStorage.removeItem('locale');
location.reload();
}