1
0
mirror of https://github.com/hakimel/reveal.js.git synced 2025-08-16 03:24:29 +02:00

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

This commit is contained in:
Hakim El Hattab
2012-08-06 15:15:41 -03:00
parent 2ad720b581
commit aca177cdf8

View File

@@ -125,11 +125,12 @@ var Reveal = (function(){
dom.controlsDown = document.querySelector( '.reveal .controls .down' );
}
addEventListeners();
// Copy options over to our config object
extend( config, options );
// Subscribe to input
addEventListeners();
// Updates the presentation to match the current configuration values
configure();