aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--demos/bootstrap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/bootstrap.js b/demos/bootstrap.js
index c82ecc1b0..f17e33230 100644
--- a/demos/bootstrap.js
+++ b/demos/bootstrap.js
@@ -54,7 +54,7 @@ require( modules, function() {
document.documentElement.className = "";
newScript.text = "( function() { " + script.innerHTML + " } )();";
- document.head.appendChild( script ).parentNode.removeChild( script );
+ document.head.appendChild( newScript ).parentNode.removeChild( newScript );
} );
} )();