aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2017-01-24 15:27:27 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2017-01-24 15:27:37 +0100
commit934c2e9730d56dfea4e2c8e008840161c9099098 (patch)
tree92976083df653c46fb9da3eccf59d3525b953857 /js
parentd4133f0160f757af90649710769789631d4a93a0 (diff)
downloadfreenode-live-2017-presentation-934c2e9730d56dfea4e2c8e008840161c9099098.tar
freenode-live-2017-presentation-934c2e9730d56dfea4e2c8e008840161c9099098.tar.gz
additional fix for empty pages in pdf exports #1804
Diffstat (limited to 'js')
-rw-r--r--js/reveal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 66ed4d0..cf174bd 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -656,7 +656,7 @@
// Reduce total height by 1px so that the page ends before
// the page, otherwise the page's 'page-break-after' will
// land on the wrong page
- page.style.height = ( ( pageHeight * numberOfPages ) - 1 ) + 'px';
+ page.style.height = ( ( pageHeight - 1 ) * numberOfPages ) + 'px';
slide.parentNode.insertBefore( page, slide );
page.appendChild( slide );