Skip to content
Snippets Groups Projects
Commit aca177cd authored by Hakim El Hattab's avatar Hakim El Hattab
Browse files

fix order of options extend and listener binding (closes #102)

parent 2ad720b5
No related branches found
No related tags found
No related merge requests found
...@@ -124,11 +124,12 @@ var Reveal = (function(){ ...@@ -124,11 +124,12 @@ var Reveal = (function(){
dom.controlsUp = document.querySelector( '.reveal .controls .up' ); dom.controlsUp = document.querySelector( '.reveal .controls .up' );
dom.controlsDown = document.querySelector( '.reveal .controls .down' ); dom.controlsDown = document.querySelector( '.reveal .controls .down' );
} }
addEventListeners();
// Copy options over to our config object // Copy options over to our config object
extend( config, options ); extend( config, options );
// Subscribe to input
addEventListeners();
// Updates the presentation to match the current configuration values // Updates the presentation to match the current configuration values
configure(); configure();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment