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
|
// 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
|
// 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
|
// 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;
|
return;
|
||||||
}
|
}
|
||||||
this.#hadPointerDown = false;
|
this.#hadPointerDown = false;
|
||||||
|
@ -1966,7 +1966,7 @@ class PDFViewer {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Go to the next page, taking scroll/spread-modes into account.
|
* Go to the next page, taking scroll/spread-modes into account.
|
||||||
* @returns {boolean} Whether navigation occured.
|
* @returns {boolean} Whether navigation occurred.
|
||||||
*/
|
*/
|
||||||
nextPage() {
|
nextPage() {
|
||||||
const currentPageNumber = this._currentPageNumber,
|
const currentPageNumber = this._currentPageNumber,
|
||||||
@ -1984,7 +1984,7 @@ class PDFViewer {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Go to the previous page, taking scroll/spread-modes into account.
|
* Go to the previous page, taking scroll/spread-modes into account.
|
||||||
* @returns {boolean} Whether navigation occured.
|
* @returns {boolean} Whether navigation occurred.
|
||||||
*/
|
*/
|
||||||
previousPage() {
|
previousPage() {
|
||||||
const currentPageNumber = this._currentPageNumber;
|
const currentPageNumber = this._currentPageNumber;
|
||||||
|
Loading…
Reference in New Issue
Block a user