fix issue in browsers that don't support classList

This commit is contained in:
Hakim El Hattab 2012-10-17 23:01:41 -04:00
parent 3a2036e2b2
commit 551c783b72
2 changed files with 5 additions and 5 deletions

View File

@ -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();

4
js/reveal.min.js vendored

File diff suppressed because one or more lines are too long