aboutsummaryrefslogtreecommitdiff
path: root/js/reveal.js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2020-03-12 19:20:15 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2020-03-12 19:20:15 +0100
commit92e3a3680c3ff994237eed5b9b0f3b8af879248c (patch)
tree8de59ec7d5bc824b4b07bf2dd20cc24dbef4740f /js/reveal.js
parent4f280f77b06418812aed7e8cae60396b04fce733 (diff)
parentffac5fe696db37611e14c6fde6fcaa1860a17baf (diff)
downloadfosdem-2021-minimalism-presentation-92e3a3680c3ff994237eed5b9b0f3b8af879248c.tar
fosdem-2021-minimalism-presentation-92e3a3680c3ff994237eed5b9b0f3b8af879248c.tar.gz
Merge branch 'dev_repackagePrintStyleSheets' of https://github.com/quilicicf/reveal.js into dev
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 1768521..db57e23 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -371,7 +371,7 @@ export default function( revealElement, options ) {
// Limit the size of certain elements to the dimensions of the slide
createStyleSheet( '.reveal section>img, .reveal section>video, .reveal section>iframe{max-width: '+ slideWidth +'px; max-height:'+ slideHeight +'px}' );
- document.body.classList.add( 'print-pdf' );
+ document.documentElement.classList.add( 'print-pdf' );
document.body.style.width = pageWidth + 'px';
document.body.style.height = pageHeight + 'px';