mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Fix lint error
This commit is contained in:
parent
2f563dbd2b
commit
9157597175
1 changed files with 1 additions and 1 deletions
|
@ -1086,7 +1086,7 @@ window.addEventListener('scalechange', function scalechange(evt) {
|
|||
return;
|
||||
}
|
||||
|
||||
var predefinedValueFound = selectScaleOption('' + evt.scale);
|
||||
var predefinedValueFound = selectScaleOption('' + evt.scale);
|
||||
if (!predefinedValueFound) {
|
||||
customScaleOption.textContent = Math.round(evt.scale * 10000) / 100 + '%';
|
||||
customScaleOption.selected = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue