From 5b2b3fa3df6089745ec013dc3de71111c25ca3d1 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Mon, 26 Dec 2011 19:32:00 -0800 Subject: changed id of 'main' container to 'reveal' --- js/reveal.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'js') 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]; -- cgit v1.2.3