Browse Source

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

embed
Hakim El Hattab 12 years ago
parent
commit
aca177cdf8
  1. 5
      js/reveal.js

5
js/reveal.js

@ -125,11 +125,12 @@ var Reveal = (function(){
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();

Loading…
Cancel
Save