aboutsummaryrefslogtreecommitdiff
path: root/js/reveal.js
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2012-08-06 15:15:41 -0300
committerHakim El Hattab <hakim.elhattab@gmail.com>2012-08-06 15:15:41 -0300
commitaca177cdf80fc3d6572576027055bb0bd503e823 (patch)
tree2e02484f08371d9e3feda0f0dc412e5df3740c21 /js/reveal.js
parent2ad720b581e7f64d22fcc3838228fb7cfae9ad9c (diff)
downloadfosdem-2018-presentation-aca177cdf80fc3d6572576027055bb0bd503e823.tar
fosdem-2018-presentation-aca177cdf80fc3d6572576027055bb0bd503e823.tar.gz
fix order of options extend and listener binding (closes #102)
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 52df1b2..1394af0 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -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();