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:
f8ef75e
)
fix for #4378, base tag causes javascript error in IE when loading cross-domain JS...
author
Brandon Aaron
<brandon.aaron@gmail.com>
Fri, 27 Mar 2009 18:20:57 +0000
(18:20 +0000)
committer
Brandon Aaron
<brandon.aaron@gmail.com>
Fri, 27 Mar 2009 18:20:57 +0000
(18:20 +0000)
src/ajax.js
patch
|
blob
|
history
diff --git
a/src/ajax.js
b/src/ajax.js
index
18d0f96
..
d22f152
100644
(file)
--- a/
src/ajax.js
+++ b/
src/ajax.js
@@
-275,7
+275,9
@@
jQuery.extend({
};
}
- head.appendChild(script);
+ // Use insertBefore instead of appendChild to circumvent an IE6 bug.
+ // This arises when a base node is used (#2709 and #4378).
+ head.insertBefore( script, head.firstChild );
// We handle everything using the script element injection
return undefined;