removed all old elements; file input & dl work

This commit is contained in:
Artur Adib 2012-04-16 15:41:55 -04:00
parent 68bab04582
commit 195efa404d
3 changed files with 11 additions and 124 deletions

View file

@ -1240,8 +1240,6 @@ 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('fileInputSeperator')
.setAttribute('hidden', 'true');
} else {
document.getElementById('fileInput').value = null;
}