fix print pdf scope exception
parent
b7f480c908
commit
cca2a3cdf3
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -215,7 +215,9 @@ export default function( revealElement, options ) {
|
|||
print.setupPDF();
|
||||
}
|
||||
else {
|
||||
window.addEventListener( 'load', print.setupPDF );
|
||||
window.addEventListener( 'load', () => {
|
||||
print.setupPDF();
|
||||
} );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue