Formatting
This commit is contained in:
parent
644ae56f4f
commit
48f5ba9367
1 changed files with 15 additions and 13 deletions
|
@ -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;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue