Skip to content

Commit

Permalink
LABjs.next: fixing bug with XHR fallback
Browse files Browse the repository at this point in the history
  • Loading branch information
getify committed May 19, 2011
1 parent c0f57d7 commit a0b4eaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion next/LAB.src.js
Expand Up @@ -185,7 +185,7 @@
var xhr = XMLHttpRequest ? new XMLHttpRequest() : (ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : null);
if (!xhr) {
global_defaults[_UseLocalXHR] = chain_opts[_UseLocalXHR] = false; // can't use XHR for some reason, so don't try anymore
return request_script(chain_opts,registry_item,onload);
return request_script(chain_opts,script_obj,chain_group,registry_item,onload);
}
/*!START_DEBUG*/if (chain_opts[_Debug]) log_msg("start script preload (xhr): "+src);/*!END_DEBUG*/
xhr.onreadystatechange = function() {
Expand Down

0 comments on commit a0b4eaf

Please sign in to comment.