aboutsummaryrefslogtreecommitdiffhomepage
path: root/js/reveal.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/reveal.js b/js/reveal.js
index e53195f..c2769e5 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -120,9 +120,6 @@ var Reveal = (function(){
// Copy options over to our config object
extend( config, options );
- // Make sure we've got all the DOM elements we need
- setupDOM();
-
// Hide the address bar in mobile browsers
hideAddressBar();
@@ -256,6 +253,9 @@ var Reveal = (function(){
* to the current URL deeplink if there is one.
*/
function start() {
+ // Make sure we've got all the DOM elements we need
+ setupDOM();
+
// Subscribe to input
addEventListeners();