mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
fix for #4378, base tag causes javascript error in IE when loading cross-domain JS via ajax
This commit is contained in:
parent
f8ef75eb91
commit
611d24086c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user