Skip to content
Snippets Groups Projects
Unverified Commit 6f2953f3 authored by syuilo's avatar syuilo
Browse files

[Client] Clear cached locale data when shouldFlush is true

parent dd3f0075
No related branches found
No related tags found
No related merge requests found
......@@ -146,6 +146,8 @@
function refresh() {
localStorage.setItem('shouldFlush', 'false');
localStorage.removeItem('locale');
// Random
localStorage.setItem('salt', Math.random().toString().substr(2, 8));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment