diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2020-05-08 20:49:06 +0200 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2020-05-08 20:49:06 +0200 |
commit | 772fa0308da0687dc11455cffc80cf6d9df79186 (patch) | |
tree | 4d556d6d95bf6891da27cb4d22fd547b20d186dd /js/reveal.js | |
parent | 3a032a836a9a5f12ef3ccc4d94e976ee0bb22e51 (diff) | |
download | fosdem-2021-minimalism-presentation-772fa0308da0687dc11455cffc80cf6d9df79186.tar fosdem-2021-minimalism-presentation-772fa0308da0687dc11455cffc80cf6d9df79186.tar.gz |
make it possible to disable hash change listener with respondToHashChanges: false
Diffstat (limited to 'js/reveal.js')
-rw-r--r-- | js/reveal.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js index db6c4aa..1a4a34d 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -487,8 +487,8 @@ export default function( revealElement, options ) { if( config.touch ) touch.bind(); if( config.keyboard ) keyboard.bind(); if( config.progress ) progress.bind(); + if( config.respondToHashChanges ) location.bind(); controls.bind(); - location.bind(); dom.slides.addEventListener( 'transitionend', onTransitionEnd, false ); dom.pauseOverlay.addEventListener( 'click', resume, false ); |