Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit 57d3c0e

Browse files
author
Aaron
authored
Merge pull request #2748 from aaron-binary/token-is-invalid
aaron/Invalid token fix
2 parents 08ec768 + 73dd558 commit 57d3c0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/botPage/view/View.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ export default class View {
650650

651651
window.addEventListener('storage', e => {
652652
window.onbeforeunload = null;
653-
if (e.key === 'activeToken' && !e.newValue) window.location.reload();
653+
if (e.key === 'activeToken' && e.newValue !== e.oldValue) window.location.reload();
654654
if (e.key === 'realityCheckTime') hideRealityCheck();
655655
});
656656

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy