diff --git a/js/controllers/notes.js b/js/controllers/notes.js index 542b1f1..8ec1d42 100644 --- a/js/controllers/notes.js +++ b/js/controllers/notes.js @@ -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 { diff --git a/js/controllers/print.js b/js/controllers/print.js index c9d04b5..ed7da73 100644 --- a/js/controllers/print.js +++ b/js/controllers/print.js @@ -91,7 +91,7 @@ export default class Print { if( config.showNotes ) { // Are there notes for this slide? - let notes = getSlideNotes( slide ); + let notes = this.Reveal.getSlideNotes( slide ); if( notes ) { let notesSpacing = 8;