git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e42c5b
)
Made the case specific of the type attribute.
author
John Resig
<jeresig@gmail.com>
Sun, 11 Jan 2009 21:22:37 +0000
(21:22 +0000)
committer
John Resig
<jeresig@gmail.com>
Sun, 11 Jan 2009 21:22:37 +0000
(21:22 +0000)
src/core.js
patch
|
blob
|
history
diff --git
a/src/core.js
b/src/core.js
index
493a655
..
186a216
100644
(file)
--- 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 )