From f837e5fec874674428b8c4d6d57bf1b34e3da3c0 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 13 Nov 2018 01:11:36 +0900 Subject: [PATCH] [Client] Clear cached locale data when shouldFlush is true --- src/client/app/boot.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client/app/boot.js b/src/client/app/boot.js index 59278ff23..c35620dc5 100644 --- a/src/client/app/boot.js +++ b/src/client/app/boot.js @@ -146,6 +146,8 @@ function refresh() { localStorage.setItem('shouldFlush', 'false'); + localStorage.removeItem('locale'); + // Random localStorage.setItem('salt', Math.random().toString().substr(2, 8));