aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2015-09-10 09:30:57 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2015-09-10 09:30:57 +0200
commit1c6990d20fecf199810848e1a43f10205b4078a8 (patch)
treeb9bbf691ff93cce852ed2ed7ef243a2bb68b05e8 /js
parent5d39e8b8ce261c8753034de97e327feb502736c8 (diff)
downloadperl-software-in-gnu-guix-1c6990d20fecf199810848e1a43f10205b4078a8.tar
perl-software-in-gnu-guix-1c6990d20fecf199810848e1a43f10205b4078a8.tar.gz
fix pdf print when showNotes is disabled
Diffstat (limited to 'js')
-rw-r--r--js/reveal.js3
1 files changed, 2 insertions, 1 deletions
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 );
}
}