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 611d24086c3837da21e0816fa3cb7b826f28da87
Showing with 3 additions and 1 deletion.
  1. +3 −1 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;

0 comments on commit 611d240

Please sign in to comment.
You can’t perform that action at this time.