Formatting

edit
Guillaume Turri 2013-08-11 16:34:04 +02:00
parent 644ae56f4f
commit 48f5ba9367
1 changed files with 15 additions and 13 deletions

View File

@ -228,6 +228,7 @@ var Reveal = (function(){
} }
function createSingletonNode( container, tagname, classname, innerHTML ){ function createSingletonNode( container, tagname, classname, innerHTML ){
var node = container.querySelector( '.' + classname ); var node = container.querySelector( '.' + classname );
if( !node ){ if( !node ){
node = document.createElement( tagname ); node = document.createElement( tagname );
@ -238,6 +239,7 @@ var Reveal = (function(){
container.appendChild( node ); container.appendChild( node );
} }
return node; return node;
} }
/** /**