Skip to content

Commit

Permalink
removed prevent default
Browse files Browse the repository at this point in the history
  • Loading branch information
lena.natter committed Apr 29, 2024
1 parent d3db12b commit 40b06ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions web/pdf_presentation_mode.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,11 @@ class PDFPresentationMode {
return;

Check failure on line 241 in web/pdf_presentation_mode.js

View workflow job for this annotation

GitHub Actions / Test

Unnecessary return statement
}
// Unless an internal link was clicked, advance one page.
evt.preventDefault();

//Custom behaviour do not change page on click
//Custom behaviour do not change page on click

Check failure on line 245 in web/pdf_presentation_mode.js

View workflow job for this annotation

GitHub Actions / Test

Delete `··`

Check failure on line 245 in web/pdf_presentation_mode.js

View workflow job for this annotation

GitHub Actions / Test

Expected space or tab after '//' in comment
// evt.preventDefault();

Check failure on line 246 in web/pdf_presentation_mode.js

View workflow job for this annotation

GitHub Actions / Test

Delete `⏎`


Check failure on line 248 in web/pdf_presentation_mode.js

View workflow job for this annotation

GitHub Actions / Test

More than 1 blank line not allowed
// if (evt.shiftKey) {
// this.pdfViewer.previousPage();
// } else {
Expand Down

0 comments on commit 40b06ea

Please sign in to comment.