forked from FoundKeyGang/FoundKey
Fix bug
This commit is contained in:
parent
b77a8af6e3
commit
6119312a74
1 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue