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
1 changed files with 3 additions and 1 deletions
|
@ -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 a new issue