diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-04-21 16:18:58 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-04-21 16:18:58 +0900 |
| commit | 6119312a74c73e24f90efa4b46322da8a7fc573c (patch) | |
| tree | 0ac9205c9823c40d784a00fc5fc1c732d6afa2dc /src | |
| parent | v5064 (diff) | |
| download | misskey-6119312a74c73e24f90efa4b46322da8a7fc573c.tar.gz misskey-6119312a74c73e24f90efa4b46322da8a7fc573c.tar.bz2 misskey-6119312a74c73e24f90efa4b46322da8a7fc573c.zip | |
Fix bug
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/app/boot.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client/app/boot.js b/src/client/app/boot.js index ac90fda05f..c09cbb6bd6 100644 --- a/src/client/app/boot.js +++ b/src/client/app/boot.js @@ -18,7 +18,11 @@ // ブロック内に入れてスコープを非グローバル化するとそれが防げます // (Chrome以外のブラウザでは検証していません) { - if (localStorage.getItem('shouldFlush') == 'true') refresh(); + // キャッシュ削除要求があれば従う + if (localStorage.getItem('shouldFlush') == 'true') { + refresh(); + return; + } // Get the current url information const url = new URL(location.href); |