File tree 2 files changed +7
-1
lines changed
2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -2001,6 +2001,12 @@ const PDFViewerApplication = {
2001
2001
opts
2002
2002
) ;
2003
2003
}
2004
+ window . addEventListener ( "message" , event => {
2005
+ if ( event . data . type === "imagedownload" ) {
2006
+ const printButton = document . getElementById ( "printButton" ) ;
2007
+ printButton ?. classList . remove ( "hidden" ) ;
2008
+ }
2009
+ } ) ;
2004
2010
} ,
2005
2011
2006
2012
bindWindowEvents ( ) {
Original file line number Diff line number Diff line change 329
329
</ button >
330
330
</ div >
331
331
332
- < div class ="verticalToolbarSeparator hiddenMediumView hidden "> </ div >
332
+ < div class ="verticalToolbarSeparator hiddenMediumView "> </ div >
333
333
334
334
< div id ="secondaryToolbarToggle " class ="toolbarButtonWithContainer ">
335
335
< button id ="secondaryToolbarToggleButton " class ="toolbarButton " type ="button " title ="Tools " tabindex ="0 " data-l10n-id ="pdfjs-tools-button " aria-expanded ="false " aria-haspopup ="true " aria-controls ="secondaryToolbar ">
You can’t perform that action at this time.
0 commit comments