Skip to content

Commit 4e839b3

Browse files
committed
fix slide notes printing
1 parent 9f477f7 commit 4e839b3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

js/controllers/notes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export default class Notes {
5454
*/
5555
updateVisibility() {
5656

57-
if( this.Reveal.getConfig().showNotes && this.hasNotes() ) {
57+
if( this.Reveal.getConfig().showNotes && this.hasNotes() && !this.Reveal.print.isPrintingPDF() ) {
5858
this.Reveal.getRevealElement().classList.add( 'show-notes' );
5959
}
6060
else {

js/controllers/print.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export default class Print {
9191
if( config.showNotes ) {
9292

9393
// Are there notes for this slide?
94-
let notes = getSlideNotes( slide );
94+
let notes = this.Reveal.getSlideNotes( slide );
9595
if( notes ) {
9696

9797
let notesSpacing = 8;

0 commit comments

Comments
 (0)