Commit f214a7ba authored by Aaron Reisman's avatar Aaron Reisman Committed by Sindre Sorhus

Close GH-170: Changed indentation to spaces and Fixed removeChildren function.

parent 4b0fde0c
......@@ -327,9 +327,7 @@ function drawTodoClear() {
function removeChildren( node ) {
while ( node.firstChild ) {
node.removeChild( node.firstChild );
}
node.innerHTML = '';
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment