Moves all document.getElementById lookups into viewer.js
This commit is contained in:
parent
d5c000850a
commit
b6c74f2056
9 changed files with 233 additions and 165 deletions
|
@ -88,7 +88,8 @@ var SecondaryToolbar = {
|
|||
},
|
||||
|
||||
openFileClick: function secondaryToolbarOpenFileClick(evt) {
|
||||
document.getElementById('fileInput').click();
|
||||
var openFileInputName = PDFViewerApplication.appConfig.openFileInputName;
|
||||
document.getElementById(openFileInputName).click();
|
||||
this.close();
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue