aboutsummaryrefslogtreecommitdiff
path: root/js/reveal.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/js/reveal.js b/js/reveal.js
index c38f695..0e8fbab 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -55,8 +55,9 @@
// Determines where controls appear, "edges" or "bottom-right"
controlsPlacement: 'bottom-right',
- // De-emphasizes backwards navigation controls
- controlsDeemphasizeBackArrows: true,
+ // Specifies the display rules for backwards navigation arrows;
+ // "deemphasized", "hidden" or "visible"
+ controlsBackArrows: 'deemphasized',
// Display a presentation progress bar
progress: true,
@@ -1005,7 +1006,7 @@
dom.progress.style.display = config.progress ? 'block' : 'none';
dom.controls.setAttribute( 'data-controls-placement', config.controlsPlacement );
- dom.controls.classList.toggle( 'deemphasize-back-arrows', config.controlsDeemphasizeBackArrows );
+ dom.controls.setAttribute( 'data-controls-back-arrows', config.controlsBackArrows );
if( config.shuffle ) {
shuffle();