From 7fe6b1f84f8e69fd425b472186e3965c74453461 Mon Sep 17 00:00:00 2001 From: syuilo Date: Fri, 31 Jan 2020 16:57:13 +0900 Subject: [PATCH] Better migration --- src/client/init.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client/init.ts b/src/client/init.ts index 3ea95aa96..ef2cf9a49 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); }