Commit 611d2408 authored by Brandon Aaron's avatar Brandon Aaron

fix for #4378, base tag causes javascript error in IE when loading cross-domain JS via ajax

parent f8ef75eb
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment