[Client] Clear cached locale data when shouldFlush is true

This commit is contained in:
syuilo 2018-11-13 01:11:36 +09:00
parent fd180e73ed
commit f837e5fec8

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));