@ -148,7 +148,6 @@ function getViewerConfiguration() {
viewFind : document . getElementById ( "viewFind" ) ,
print : document . getElementById ( "print" ) ,
presentationModeButton : document . getElementById ( "presentationMode" ) ,
download : document . getElementById ( "download" ) ,
viewBookmark : document . getElementById ( "viewBookmark" )
} ,
secondaryToolbar : {
@ -157,7 +156,6 @@ function getViewerConfiguration() {
toolbarButtonContainer : document . getElementById ( "secondaryToolbarButtonContainer" ) ,
presentationModeButton : document . getElementById ( "secondaryPresentationMode" ) ,
printButton : document . getElementById ( "secondaryPrint" ) ,
downloadButton : document . getElementById ( "secondaryDownload" ) ,
viewBookmarkButton : document . getElementById ( "secondaryViewBookmark" ) ,
firstPageButton : document . getElementById ( "firstPage" ) ,
lastPageButton : document . getElementById ( "lastPage" ) ,
@ -1576,8 +1574,6 @@ const PDFViewerApplication = {
eventBus . _on ( "print" , webViewerPrint ) ;
eventBus . _on ( "download" , webViewerDownload ) ;
eventBus . _on ( "firstpage" , webViewerFirstPage ) ;
eventBus . _on ( "lastpage" , webViewerLastPage ) ;
@ -1702,8 +1698,6 @@ const PDFViewerApplication = {
eventBus . _off ( "print" , webViewerPrint ) ;
eventBus . _off ( "download" , webViewerDownload ) ;
eventBus . _off ( "firstpage" , webViewerFirstPage ) ;
eventBus . _off ( "lastpage" , webViewerLastPage ) ;
@ -2126,8 +2120,6 @@ let webViewerFileInputChange, webViewerOpenFile;
const appConfig = PDFViewerApplication . appConfig ;
appConfig . toolbar . viewBookmark . setAttribute ( "hidden" , "true" ) ;
appConfig . secondaryToolbar . viewBookmarkButton . setAttribute ( "hidden" , "true" ) ;
appConfig . toolbar . download . setAttribute ( "hidden" , "true" ) ;
appConfig . secondaryToolbar . downloadButton . setAttribute ( "hidden" , "true" ) ;
} ;
}