Skip to content

Commit 551c783

Browse files
committed
fix issue in browsers that don't support classList
1 parent 3a2036e commit 551c783

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

js/reveal.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,6 @@ var Reveal = (function(){
120120
// Copy options over to our config object
121121
extend( config, options );
122122

123-
// Make sure we've got all the DOM elements we need
124-
setupDOM();
125-
126123
// Hide the address bar in mobile browsers
127124
hideAddressBar();
128125

@@ -256,6 +253,9 @@ var Reveal = (function(){
256253
* to the current URL deeplink if there is one.
257254
*/
258255
function start() {
256+
// Make sure we've got all the DOM elements we need
257+
setupDOM();
258+
259259
// Subscribe to input
260260
addEventListeners();
261261

js/reveal.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)