1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-02 16:58:43 +09:00

[Client] Clear cached locale data when shouldFlush is true

This commit is contained in:
syuilo 2018-11-13 01:11:36 +09:00
parent dd3f007582
commit 6f2953f3a7
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -146,6 +146,8 @@
function refresh() { function refresh() {
localStorage.setItem('shouldFlush', 'false'); localStorage.setItem('shouldFlush', 'false');
localStorage.removeItem('locale');
// Random // Random
localStorage.setItem('salt', Math.random().toString().substr(2, 8)); localStorage.setItem('salt', Math.random().toString().substr(2, 8));