]> git.parisson.com Git - pdf.js.git/commitdiff
Remove brakets
authorJulian Viereck <julian.viereck@gmail.com>
Thu, 22 Dec 2011 18:41:17 +0000 (19:41 +0100)
committerJulian Viereck <julian.viereck@gmail.com>
Mon, 2 Jan 2012 19:02:21 +0000 (20:02 +0100)
web/viewer.js

index 441a36a929a7d620f275430cd0e325fc24b0db33..648556dcbf2f7183d227af1d19d63760fa105f14 100644 (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);
   },