1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 15:18:08 +02:00

Remove brakets

This commit is contained in:
Julian Viereck 2011-12-22 19:41:17 +01:00
parent 52aba8648e
commit c82b2faa0e

View file

@ -190,9 +190,8 @@ var PDFView = {
this.setScale(
Math.min(pageWidthScale, pageHeightScale), resetAutoSettings);
}
if ('auto' == value) {
if ('auto' == value)
this.setScale(Math.min(1.0, pageWidthScale), resetAutoSettings);
}
selectScaleOption(value);
},