1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-05 22:27:37 +02:00

fix slide notes printing

This commit is contained in:
Lee Sheng Long
2020-05-21 19:21:08 +10:00
parent 9f477f7d59
commit 4e839b3d78
2 changed files with 2 additions and 2 deletions

View File

@@ -54,7 +54,7 @@ export default class Notes {
*/
updateVisibility() {
if( this.Reveal.getConfig().showNotes && this.hasNotes() ) {
if( this.Reveal.getConfig().showNotes && this.hasNotes() && !this.Reveal.print.isPrintingPDF() ) {
this.Reveal.getRevealElement().classList.add( 'show-notes' );
}
else {