aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2017-02-02 10:46:44 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2017-02-02 10:47:39 +0100
commit9f99ac8b849aa26df98232bfa04db50eb2baa5ee (patch)
treedad84236bd47eb8eba52a15702d2212327d14f91
parent8a0dca2ba0f9c531d143c6d48686494614cb27f9 (diff)
downloadfosdem-2018-presentation-9f99ac8b849aa26df98232bfa04db50eb2baa5ee.tar
fosdem-2018-presentation-9f99ac8b849aa26df98232bfa04db50eb2baa5ee.tar.gz
adjust comment for display config value #1325
-rw-r--r--README.md5
-rw-r--r--js/reveal.js6
2 files changed, 7 insertions, 4 deletions
diff --git a/README.md b/README.md
index 0aa0f29..bfd5c9f 100644
--- a/README.md
+++ b/README.md
@@ -270,7 +270,10 @@ Reveal.initialize({
// - Calculated automatically unless specified
// - Set to 0 to disable movement along an axis
parallaxBackgroundHorizontal: null,
- parallaxBackgroundVertical: null
+ parallaxBackgroundVertical: null,
+
+ // The display mode that will be used to show slides
+ display: 'block'
});
```
diff --git a/js/reveal.js b/js/reveal.js
index 6c349e7..125a7b6 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -49,9 +49,6 @@
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,
@@ -163,6 +160,9 @@
// Number of slides away from the current that are visible
viewDistance: 3,
+ // The display mode that will be used to show slides
+ display: 'block',
+
// Script dependencies to load
dependencies: []