]> git.parisson.com Git - pdf.js.git/commitdiff
Add back the browse button for the web viewer.
authorBrendan Dahl <brendan.dahl@gmail.com>
Mon, 30 Apr 2012 21:23:26 +0000 (14:23 -0700)
committerBrendan Dahl <brendan.dahl@gmail.com>
Mon, 30 Apr 2012 21:23:26 +0000 (14:23 -0700)
web/viewer.css
web/viewer.html

index daac250756afb9c66e187303d43928f731cd0f7a..ceac25c2c6aba801e9040feb444ed9fcc24f65c4 100644 (file)
@@ -771,6 +771,7 @@ canvas {
 .fileInput {
   background: white;
   color: black;
+  margin-top: 5px;
 }
 
 #PDFBug {
index 4a39566d6655f5a8b266081313b393ead3777bda..63dbcc6086171c72e5601f0f0946252ed5a8d048 100644 (file)
@@ -74,7 +74,7 @@
                 <span id="numPages" class="toolbarLabel"></span>
               </div>
               <div id="toolbarViewerRight">
-                <input id="fileInput" class="toolbarButton fileInput" type="file" oncontextmenu="return false;" style="display: none"/>
+                <input id="fileInput" class="fileInput" type="file" oncontextmenu="return false;"/>
 
                 <!-- <button id="print" class="toolbarButton print" title="Print" onclick="window.print()"></button> -->
                 <button id="download" class="toolbarButton download" title="Download" onclick="PDFView.download();"></button>