Fix spelling of occurred in a couple of comments

This commit is contained in:
Jonas Jenwald 2023-03-25 20:46:02 +01:00
parent a1685fd0d8
commit 007c367018
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;