pluralize background classname to match '.slides'

This commit is contained in:
Hakim El Hattab
2013-06-10 08:49:53 +02:00
parent 7e50404ad7
commit 8e348af8b8
4 changed files with 13 additions and 13 deletions

View File

@ -190,9 +190,9 @@ var Reveal = (function(){
dom.slides = document.querySelector( '.reveal .slides' );
// Background element
if( !document.querySelector( '.reveal .background' ) ) {
if( !document.querySelector( '.reveal .backgrounds' ) ) {
dom.background = document.createElement( 'div' );
dom.background.classList.add( 'background' );
dom.background.classList.add( 'backgrounds' );
dom.wrapper.appendChild( dom.background );
}

4
js/reveal.min.js vendored

File diff suppressed because one or more lines are too long