mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-09 17:55:37 +02:00
Replaces browse button with a icon
This commit is contained in:
parent
840fe94e46
commit
cc3e7197b3
5 changed files with 9 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue