Merge pull request #13135 from eltociear/patch-1
Fix typo in pdf_history.js
This commit is contained in:
commit
0ff92fb9c8
@ -265,7 +265,7 @@ class PDFHistory {
|
|||||||
// being scrolled into view, to avoid potentially inconsistent state.
|
// being scrolled into view, to avoid potentially inconsistent state.
|
||||||
this._popStateInProgress = true;
|
this._popStateInProgress = true;
|
||||||
// We defer the resetting of `this._popStateInProgress`, to account for
|
// 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(() => {
|
Promise.resolve().then(() => {
|
||||||
this._popStateInProgress = false;
|
this._popStateInProgress = false;
|
||||||
});
|
});
|
||||||
@ -314,7 +314,7 @@ class PDFHistory {
|
|||||||
// being scrolled into view, to avoid potentially inconsistent state.
|
// being scrolled into view, to avoid potentially inconsistent state.
|
||||||
this._popStateInProgress = true;
|
this._popStateInProgress = true;
|
||||||
// We defer the resetting of `this._popStateInProgress`, to account for
|
// 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(() => {
|
Promise.resolve().then(() => {
|
||||||
this._popStateInProgress = false;
|
this._popStateInProgress = false;
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user