From 8d4cb810d641be085aee365ad83cd59b7c974cfd Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Tue, 21 Jun 2016 14:21:42 +0200 Subject: [PATCH] move speaker notes into page container when printing pdf --- js/reveal.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/reveal.js b/js/reveal.js index d8cc4fc..e544e13 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -649,10 +649,10 @@ page.parentNode.insertBefore( notesElement, page.nextSibling ); } else { - notesElement.style.left = ( notesSpacing - left ) + 'px'; - notesElement.style.bottom = ( notesSpacing - top ) + 'px'; + notesElement.style.left = notesSpacing + 'px'; + notesElement.style.bottom = notesSpacing + 'px'; notesElement.style.width = ( pageWidth - notesSpacing*2 ) + 'px'; - slide.appendChild( notesElement ); + page.appendChild( notesElement ); } }