Replaces browse button with a icon

This commit is contained in:
Yury Delendik 2012-05-20 17:12:58 -05:00
parent 840fe94e46
commit cc3e7197b3
5 changed files with 9 additions and 7 deletions

View file

@ -1366,7 +1366,7 @@ window.addEventListener('load', function webViewerLoad(evt) {
if (PDFJS.isFirefoxExtension || !window.File || !window.FileReader ||
!window.FileList || !window.Blob) {
document.getElementById('fileInput').setAttribute('hidden', 'true');
document.getElementById('openFile').setAttribute('hidden', 'true');
} else {
document.getElementById('fileInput').value = null;
}