projects
/
reveal.js.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ad720b
)
fix order of options extend and listener binding (closes #102)
author
Hakim El Hattab
<hakim.elhattab@gmail.com>
Mon, 6 Aug 2012 18:15:41 +0000
(15:15 -0300)
committer
Hakim El Hattab
<hakim.elhattab@gmail.com>
Mon, 6 Aug 2012 18:15:41 +0000
(15:15 -0300)
js/reveal.js
patch
|
blob
|
history
diff --git
a/js/reveal.js
b/js/reveal.js
index 52df1b24fc1b03a08dcaba4ff9409b4367742d9a..1394af0f8721d677216ab1869ba8a02b517b8e98 100644
(file)
--- 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();