changed id of 'main' container to 'reveal'

This commit is contained in:
Hakim El Hattab
2011-12-26 19:32:00 -08:00
parent bccb6e68c7
commit 5b2b3fa3df
3 changed files with 49 additions and 48 deletions

View File

@ -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];