summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-04-21 16:18:58 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-04-21 16:18:58 +0900
commit6119312a74c73e24f90efa4b46322da8a7fc573c (patch)
tree0ac9205c9823c40d784a00fc5fc1c732d6afa2dc /src/client
parentv5064 (diff)
downloadmisskey-6119312a74c73e24f90efa4b46322da8a7fc573c.tar.gz
misskey-6119312a74c73e24f90efa4b46322da8a7fc573c.tar.bz2
misskey-6119312a74c73e24f90efa4b46322da8a7fc573c.zip
Fix bug
Diffstat (limited to 'src/client')
-rw-r--r--src/client/app/boot.js6
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);