aboutsummaryrefslogtreecommitdiff
path: root/js/reveal.js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2017-05-16 15:40:50 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2017-05-16 15:40:50 +0200
commit67507ccb9d12d9d1583c362ce079fb817c6faa68 (patch)
treed65126e68bd3cb55282fae74fdcc87206779899a /js/reveal.js
parent9e013ccbb2415bcf8a7a7c7926263bdf980bfa8f (diff)
downloadfosdem-2018-presentation-67507ccb9d12d9d1583c362ce079fb817c6faa68.tar
fosdem-2018-presentation-67507ccb9d12d9d1583c362ce079fb817c6faa68.tar.gz
controlsHints -> controlsTutorial
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 96177fe..973d419 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -52,9 +52,9 @@
// Display presentation control arrows
controls: true,
- // Hint at where the user can navigate, for example by animating
- // the down arrow when we first encounter a vertical slide
- controlsHints: true,
+ // Help the user learn the controls by providing hints, for example by
+ // bouncing the down arrow when they first encounter a vertical slide
+ controlsTutorial: true,
// Determines where controls appear, "edges" or "bottom-right"
controlsLayout: 'bottom-right',
@@ -2917,7 +2917,7 @@
}
- if( config.controlsHints ) {
+ if( config.controlsTutorial ) {
// Highlight control arrows with an animation to ensure
// that the viewer knows how to navigate
@@ -2927,7 +2927,7 @@
else {
dom.controlsDownArrow.classList.remove( 'highlight' );
- if( !hasNavigatedRight && routes.right && indexh === 0 ) {
+ if( !hasNavigatedRight && routes.right && indexv === 0 ) {
dom.controlsRightArrow.classList.add( 'highlight' );
}
else {