aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2017-02-02 10:42:21 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2017-02-02 10:42:21 +0100
commit8a0dca2ba0f9c531d143c6d48686494614cb27f9 (patch)
tree57e682c50aa209ddec18df6112b5159213a7a98a /js
parentcc43ff21ef1a023bbfc87c2b10c689dadb046a38 (diff)
parentccbc7ed6bcd9a2fe9a8d6c651fdc8644ecc08ee6 (diff)
downloadfosdem-2018-presentation-8a0dca2ba0f9c531d143c6d48686494614cb27f9.tar
fosdem-2018-presentation-8a0dca2ba0f9c531d143c6d48686494614cb27f9.tar.gz
Merge branch 'issue-1324' of https://github.com/mojavelinux/reveal.js into dev
Diffstat (limited to 'js')
-rw-r--r--js/reveal.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 7a561a1..6c349e7 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -49,6 +49,9 @@
minScale: 0.2,
maxScale: 2.0,
+ // Value of the display CSS property applied to current slide to make it visible
+ display: 'block',
+
// Display controls in the bottom right corner
controls: true,
@@ -2994,7 +2997,7 @@
function showSlide( slide ) {
// Show the slide element
- slide.style.display = 'block';
+ slide.style.display = config.display;
// Media elements with data-src attributes
toArray( slide.querySelectorAll( 'img[data-src], video[data-src], audio[data-src]' ) ).forEach( function( element ) {