Fix spelling of occurred
in a couple of comments
This commit is contained in:
parent
a1685fd0d8
commit
007c367018
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user