Fix #3542 going back twice on lazy loading a tab

This commit is contained in:
seebye 2018-02-05 01:20:56 +01:00
parent 4ffdd9da0e
commit 8dbf506916

View File

@ -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