Unverified Commit 8680fb38 authored by Hakim El Hattab's avatar Hakim El Hattab Committed by GitHub
Browse files

Merge pull request #2671 from s-l-lee/fix-notes-printing

Fix slide notes printing
parents 9f477f7d fc429436
This diff is collapsed.
This diff is collapsed.
......@@ -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 {
......
......@@ -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;
......
Markdown is supported
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