mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-13 13:37:31 -07:00
Better migration
This commit is contained in:
parent
36e148b8f3
commit
8cad379d90
1 changed files with 2 additions and 0 deletions
|
@ -48,7 +48,9 @@ console.info(`Misskey v${version}`);
|
||||||
|
|
||||||
// v11互換性のため
|
// v11互換性のため
|
||||||
if (localStorage.getItem('kyoppie') === 'yuppie') {
|
if (localStorage.getItem('kyoppie') === 'yuppie') {
|
||||||
|
const i = localStorage.getItem('i');
|
||||||
localStorage.clear();
|
localStorage.clear();
|
||||||
|
localStorage.setItem('i', i);
|
||||||
location.reload(true);
|
location.reload(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue