Fix typo in pdf_history.js

occuring -> occurring
This commit is contained in:
Ikko Ashimine 2021-03-24 23:18:40 +09:00 committed by GitHub
parent d426ffdad9
commit 0de15d59b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -265,7 +265,7 @@ class PDFHistory {
// being scrolled into view, to avoid potentially inconsistent state.
this._popStateInProgress = true;
// We defer the resetting of `this._popStateInProgress`, to account for
// e.g. zooming occuring when the new destination is being navigated to.
// e.g. zooming occurring when the new destination is being navigated to.
Promise.resolve().then(() => {
this._popStateInProgress = false;
});
@ -314,7 +314,7 @@ class PDFHistory {
// being scrolled into view, to avoid potentially inconsistent state.
this._popStateInProgress = true;
// We defer the resetting of `this._popStateInProgress`, to account for
// e.g. zooming occuring when the new page is being navigated to.
// e.g. zooming occurring when the new page is being navigated to.
Promise.resolve().then(() => {
this._popStateInProgress = false;
});