aboutsummaryrefslogtreecommitdiff
path: root/js/reveal.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:29:34 +0100
commitd9dcff1503cb4e8043a2b434de3cc635914164cb (patch)
treec9a3e19b8edd4d023078fc948f285209060081fb /js/reveal.js
parent286b69b61f64bf47dd3ea710175aeb4de8288d9f (diff)
downloadfosdem-2018-presentation-d9dcff1503cb4e8043a2b434de3cc635914164cb.tar
fosdem-2018-presentation-d9dcff1503cb4e8043a2b434de3cc635914164cb.tar.gz
additional fix for empty pages in pdf exports #1804
Diffstat (limited to 'js/reveal.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 8b00420..95a4883 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 );