Fix #3542 going back twice on lazy loading a tab
This commit is contained in:
parent
4ffdd9da0e
commit
8dbf506916
@ -27,7 +27,7 @@ function prepare_restore() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
document.addEventListener("visibilitychange", go_back);
|
document.addEventListener("visibilitychange", go_back, {once: true});
|
||||||
}
|
}
|
||||||
|
|
||||||
// there are three states
|
// there are three states
|
||||||
|
Loading…
Reference in New Issue
Block a user