diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-11-13 01:11:36 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-11-13 01:11:36 +0900 |
| commit | 6f2953f3a71e2e579575ee6333cfc1afdfc726e1 (patch) | |
| tree | 6cde9f4a05354b07204b2eda72e0c0975a2d222a /src/client | |
| parent | [Client] Improve post-form widget (diff) | |
| download | sharkey-6f2953f3a71e2e579575ee6333cfc1afdfc726e1.tar.gz sharkey-6f2953f3a71e2e579575ee6333cfc1afdfc726e1.tar.bz2 sharkey-6f2953f3a71e2e579575ee6333cfc1afdfc726e1.zip | |
[Client] Clear cached locale data when shouldFlush is true
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/app/boot.js | 2 |
1 files changed, 2 insertions, 0 deletions
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)); |