diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2016-06-21 14:21:42 +0200 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2016-06-21 14:21:42 +0200 |
commit | 8d4cb810d641be085aee365ad83cd59b7c974cfd (patch) | |
tree | 3c5e2189893a1650327fbea51a13bc455b9e0fee /js/reveal.js | |
parent | a12a17b2d7053fad006ae9914309e8fb56c44329 (diff) | |
download | perl-software-in-gnu-guix-8d4cb810d641be085aee365ad83cd59b7c974cfd.tar perl-software-in-gnu-guix-8d4cb810d641be085aee365ad83cd59b7c974cfd.tar.gz |
move speaker notes into page container when printing pdf
Diffstat (limited to 'js/reveal.js')
-rw-r--r-- | js/reveal.js | 6 |
1 files 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 ); } } |