1
0
Fork 0

fix print pdf scope exception

This commit is contained in:
Hakim El Hattab 2020-05-06 22:03:49 +02:00
parent b7f480c908
commit cca2a3cdf3
3 changed files with 5 additions and 3 deletions

2
dist/reveal.esm.js vendored

File diff suppressed because one or more lines are too long

2
dist/reveal.js vendored

File diff suppressed because one or more lines are too long

View File

@ -215,7 +215,9 @@ export default function( revealElement, options ) {
print.setupPDF();
}
else {
window.addEventListener( 'load', print.setupPDF );
window.addEventListener( 'load', () => {
print.setupPDF();
} );
}
}