From 9f99ac8b849aa26df98232bfa04db50eb2baa5ee Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Thu, 2 Feb 2017 10:46:44 +0100 Subject: [PATCH] adjust comment for display config value #1325 --- README.md | 5 ++++- js/reveal.js | 6 +++--- 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: []