]> source.dussan.org Git - jquery-ui.git/commitdiff
Demos: Fixup correct name
authorAlexander Schmitz <arschmitz@gmail.com>
Tue, 21 Jul 2015 14:55:41 +0000 (10:55 -0400)
committerAlexander Schmitz <arschmitz@gmail.com>
Tue, 21 Jul 2015 15:00:40 +0000 (11:00 -0400)
demos/bootstrap.js

index c82ecc1b0a7b1357695b62175bcc4d4b5e90e1b1..f17e33230e2ddd35315136c6853e5608111be8ba 100644 (file)
@@ -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 );
 } );
 
 } )();