Merge pull request #16211 from Snuffleupagus/occur-spelling

Fix spelling of `occurred` in a couple of comments
This commit is contained in:
Jonas Jenwald 2023-03-25 20:54:29 +01:00 committed by GitHub
commit 8a2dfdb032
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -449,7 +449,7 @@ class AnnotationEditorLayer {
// It can happen when the user starts a drag inside a text editor
// and then releases the mouse button outside of it. In such a case
// we don't want to create a new editor, hence we check that a pointerdown
// occured on this div previously.
// occurred on this div previously.
return;
}
this.#hadPointerDown = false;

View File

@ -1966,7 +1966,7 @@ class PDFViewer {
/**
* Go to the next page, taking scroll/spread-modes into account.
* @returns {boolean} Whether navigation occured.
* @returns {boolean} Whether navigation occurred.
*/
nextPage() {
const currentPageNumber = this._currentPageNumber,
@ -1984,7 +1984,7 @@ class PDFViewer {
/**
* Go to the previous page, taking scroll/spread-modes into account.
* @returns {boolean} Whether navigation occured.
* @returns {boolean} Whether navigation occurred.
*/
previousPage() {
const currentPageNumber = this._currentPageNumber;