diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2011-12-26 19:32:00 -0800 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2011-12-26 19:32:00 -0800 |
commit | 5b2b3fa3df6089745ec013dc3de71111c25ca3d1 (patch) | |
tree | 40e3787a27296f504a7ee23002217d6fda87282b /js | |
parent | bccb6e68c722fd141979df05eb9f8528094431fb (diff) | |
download | fosdem-2018-presentation-5b2b3fa3df6089745ec013dc3de71111c25ca3d1.tar fosdem-2018-presentation-5b2b3fa3df6089745ec013dc3de71111c25ca3d1.tar.gz |
changed id of 'main' container to 'reveal'
Diffstat (limited to 'js')
-rw-r--r-- | js/reveal.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/js/reveal.js b/js/reveal.js index ff0e672..14f2a71 100644 --- a/js/reveal.js +++ b/js/reveal.js @@ -67,6 +67,7 @@ * - Slides that contain nested-slides are given the 'stack' class * * version 1.2: + * - Main container was renamed from #main to #reveal * * * @author Hakim El Hattab | http://hakim.se @@ -74,7 +75,7 @@ */ var Reveal = (function(){ - var HORIZONTAL_SLIDES_SELECTOR = '#main>section', + var HORIZONTAL_SLIDES_SELECTOR = '#reveal>section', VERTICAL_SLIDES_SELECTOR = 'section.present>section', // The horizontal and verical index of the currently active slide @@ -337,7 +338,7 @@ var Reveal = (function(){ function deactivateOverview() { document.body.classList.remove( 'overview' ); - var slides = Array.prototype.slice.call( document.querySelectorAll( '#main section' ) ); + var slides = Array.prototype.slice.call( document.querySelectorAll( '#reveal section' ) ); for( var i = 0, len = slides.length; i < len; i++ ) { var element = slides[i]; |