Skip to content
Permalink
Browse files

fix for #5017

  • Loading branch information
brandonaaron committed Sep 14, 2009
1 parent b539b6e commit 4a3c4c86c95a99282d743c09bccff8ad73a7ec11
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ajax.js
@@ -275,7 +275,7 @@ jQuery.extend({
if ( s.dataType === "script" && type === "GET" && parts
&& ( parts[1] && parts[1] !== location.protocol || parts[2] !== location.host )) {

var head = document.getElementsByTagName("head")[0];
var head = document.getElementsByTagName("head")[0] || document.documentElement;
var script = document.createElement("script");
script.src = s.url;
if ( s.scriptCharset ) {

0 comments on commit 4a3c4c8

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