Skip to content

Commit

Permalink
fix order of options extend and listener binding (closes #102)
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimel committed Aug 6, 2012
1 parent 2ad720b commit aca177c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions js/reveal.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,12 @@ var Reveal = (function(){
dom.controlsUp = document.querySelector( '.reveal .controls .up' );
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();
Expand Down

0 comments on commit aca177c

Please sign in to comment.