mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
Manually fix remaining ESLint errors
This commit is contained in:
parent
ef1f255649
commit
9e3f7ac7fa
9 changed files with 42 additions and 21 deletions
|
@ -339,8 +339,9 @@ var PDFViewerApplication = {
|
|||
function() {
|
||||
PDFViewerApplication.page = (this.value | 0);
|
||||
|
||||
// Ensure that the page number input displays the correct value, even if the
|
||||
// value entered by the user was invalid (e.g. a floating point number).
|
||||
// Ensure that the page number input displays the correct value,
|
||||
// even if the value entered by the user was invalid
|
||||
// (e.g. a floating point number).
|
||||
if (this.value !== PDFViewerApplication.page.toString()) {
|
||||
this.value = PDFViewerApplication.page;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue