mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-30 07:48:09 +09:00
Clean up
This commit is contained in:
parent
074bd7d297
commit
3859ac7156
@ -40,9 +40,6 @@
|
||||
const data = JSON.parse(vuex);
|
||||
if (data.device.lang) lang = data.device.lang;
|
||||
}
|
||||
|
||||
const storedLang = localStorage.getItem('lang');
|
||||
if (storedLang) lang = storedLang;
|
||||
//#endregion
|
||||
|
||||
// Detect the user agent
|
||||
|
@ -10,11 +10,6 @@
|
||||
localStorage.setItem('v', v);
|
||||
}
|
||||
|
||||
const lang = window.prompt('Enter language (optional):');
|
||||
if (lang && lang.length > 0) {
|
||||
localStorage.setItem('lang', lang);
|
||||
}
|
||||
|
||||
setTimeout(() => {
|
||||
location.href = '/';
|
||||
}, 500);
|
||||
|
Loading…
Reference in New Issue
Block a user