Skip to content
Permalink
Browse files

Made the case specific of the type attribute.

  • Loading branch information
jeresig committed Jan 11, 2009
1 parent 2e42c5b commit fa615bedd47bd8a4b11e8490e26d2c89d1d86e2a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core.js
@@ -923,7 +923,7 @@ jQuery.extend({

if ( fragment ) {
for ( var i = 0; ret[i]; i++ ) {
if ( jQuery.nodeName( ret[i], "script" ) && (!ret[i].type || ret[i].type === "text/javascript") ) {
if ( jQuery.nodeName( ret[i], "script" ) && (!ret[i].type || ret[i].type.toLowerCase() === "text/javascript") ) {
scripts.push( ret[i].parentNode ? ret[i].parentNode.removeChild( ret[i] ) : ret[i] );
} else {
if ( ret[i].nodeType === 1 )

0 comments on commit fa615be

Please sign in to comment.
You can’t perform that action at this time.