From 551c783b7241760594a31e286822ee5643ecc0e6 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Wed, 17 Oct 2012 23:01:41 -0400 Subject: fix issue in browsers that don't support classList --- js/reveal.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'js/reveal.js') 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(); -- cgit v1.2.3