From 0de15d59b86ff9bd6535bbff9bc338873c0dfdaa Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Wed, 24 Mar 2021 23:18:40 +0900 Subject: [PATCH] Fix typo in pdf_history.js occuring -> occurring --- web/pdf_history.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/pdf_history.js b/web/pdf_history.js index 67860bf3f..8c4d307ce 100644 --- a/web/pdf_history.js +++ b/web/pdf_history.js @@ -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; });