From 6f2953f3a71e2e579575ee6333cfc1afdfc726e1 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 59278ff23c..c35620dc5a 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));