mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-10-31 23:31:48 +09:00
Better migration
This commit is contained in:
parent
2cca14a625
commit
7fe6b1f84f
@ -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 New Issue
Block a user