make it possible to disable hash change listener with respondToHashChanges: false
This commit is contained in:
1 parent
3a032a836a
commit
772fa0308d
4 files changed
+6
-3
No files matched your search
+1
-1
@@ -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 );
|
||||
|
||||
Reference in new issue
Block a user