Prevent startup tabs to remain stuck with about:blank.
This commit is contained in:
parent
a78117ff24
commit
3547c44495
|
@ -5,7 +5,7 @@
|
|||
|
||||
let stopAndReload = beforeReloading => {
|
||||
debug("Should I reload? %o, now: %s", performance.now())
|
||||
if (performance.now() > 10000) {
|
||||
if (location.href === "about:blank" || performance.now() > 10000 ) {
|
||||
debug("Won't reload.");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue