delay added, text changed
This commit is contained in:
parent
28caddf3c1
commit
02104a318e
@ -24,7 +24,7 @@ function go_forward() {
|
|||||||
function prepare_restore() {
|
function prepare_restore() {
|
||||||
if (!document.hidden) {
|
if (!document.hidden) {
|
||||||
go_back();
|
go_back();
|
||||||
break;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
document.addEventListener("visibilitychange", go_back);
|
document.addEventListener("visibilitychange", go_back);
|
||||||
|
Loading…
Reference in New Issue
Block a user