mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-29 21:37:34 -07:00
[Client] Clear cached locale data when shouldFlush is true
This commit is contained in:
parent
fd180e73ed
commit
f837e5fec8
1 changed files with 2 additions and 0 deletions
|
@ -146,6 +146,8 @@
|
|||
function refresh() {
|
||||
localStorage.setItem('shouldFlush', 'false');
|
||||
|
||||
localStorage.removeItem('locale');
|
||||
|
||||
// Random
|
||||
localStorage.setItem('salt', Math.random().toString().substr(2, 8));
|
||||
|
||||
|
|
Loading…
Reference in a new issue