diff options
author | John Resig <jeresig@gmail.com> | 2009-01-11 21:22:37 +0000 |
---|---|---|
committer | John Resig <jeresig@gmail.com> | 2009-01-11 21:22:37 +0000 |
commit | fa615bedd47bd8a4b11e8490e26d2c89d1d86e2a (patch) | |
tree | 227e1c0cdb0c861072f9ff717770371a0b6667d3 | |
parent | 2e42c5b0445b7c871c67b0a3bb7a0dc42d1d2112 (diff) | |
download | jquery-fa615bedd47bd8a4b11e8490e26d2c89d1d86e2a.tar.gz jquery-fa615bedd47bd8a4b11e8490e26d2c89d1d86e2a.zip |
Made the case specific of the type attribute.
-rw-r--r-- | src/core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.js b/src/core.js index 493a655cf..186a2161d 100644 --- a/src/core.js +++ b/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 ) |