diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2020-01-31 16:57:13 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2020-01-31 16:57:13 +0900 |
| commit | 7fe6b1f84f8e69fd425b472186e3965c74453461 (patch) | |
| tree | 1e2606b705be9869d168853dd897e2809e1752b7 /src/client/init.ts | |
| parent | Show patrons (diff) | |
| download | misskey-7fe6b1f84f8e69fd425b472186e3965c74453461.tar.gz misskey-7fe6b1f84f8e69fd425b472186e3965c74453461.tar.bz2 misskey-7fe6b1f84f8e69fd425b472186e3965c74453461.zip | |
Better migration
Diffstat (limited to 'src/client/init.ts')
| -rw-r--r-- | src/client/init.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/init.ts b/src/client/init.ts index 3ea95aa96b..ef2cf9a49a 100644 --- a/src/client/init.ts +++ b/src/client/init.ts @@ -48,7 +48,9 @@ console.info(`Misskey v${version}`); // v11互換性のため if (localStorage.getItem('kyoppie') === 'yuppie') { + const i = localStorage.getItem('i'); localStorage.clear(); + localStorage.setItem('i', i); location.reload(true); } |