Skip to content
Permalink
Browse files
fix for #4378, base tag causes javascript error in IE when loading cr…
…oss-domain JS via ajax
  • Loading branch information
brandonaaron committed Mar 27, 2009
1 parent f8ef75e commit 611d240
Showing 1 changed file with 3 additions and 1 deletion.
@@ -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;

0 comments on commit 611d240

Please sign in to comment.