Commit cca2a3cd authored by Hakim El Hattab's avatar Hakim El Hattab
Browse files

fix print pdf scope exception

parent b7f480c9
This diff is collapsed.
This diff is collapsed.
......@@ -215,7 +215,9 @@ export default function( revealElement, options ) {
print.setupPDF();
}
else {
window.addEventListener( 'load', print.setupPDF );
window.addEventListener( 'load', () => {
print.setupPDF();
} );
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment