From 1c6990d20fecf199810848e1a43f10205b4078a8 Mon Sep 17 00:00:00 2001
From: Hakim El Hattab
Date: Thu, 10 Sep 2015 09:30:57 +0200
Subject: fix pdf print when showNotes is disabled

---
 js/reveal.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'js/reveal.js')

diff --git a/js/reveal.js b/js/reveal.js
index e517b33..ae682ac 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -580,8 +580,9 @@
 					if( notes ) {
 						var notesElement = document.createElement( 'div' );
 						notesElement.classList.add( 'speaker-notes' );
+						notesElement.classList.add( 'speaker-notes-pdf' );
 						notesElement.innerHTML = notes;
-						notesElement.style.bottom = 40 - ( ( pageHeight - contentHeight ) / 2 ) + 'px';
+						notesElement.style.bottom = ( 40 - top ) + 'px';
 						slide.appendChild( notesElement );
 					}
 				}
-- 
cgit v1.2.3