Skip to content
This repository was archived by the owner on Dec 31, 2022. It is now read-only.

Commit a0b4eaf

Browse files
committed
LABjs.next: fixing bug with XHR fallback
1 parent c0f57d7 commit a0b4eaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

next/LAB.src.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185
var xhr = XMLHttpRequest ? new XMLHttpRequest() : (ActiveXObject ? new ActiveXObject("Microsoft.XMLHTTP") : null);
186186
if (!xhr) {
187187
global_defaults[_UseLocalXHR] = chain_opts[_UseLocalXHR] = false; // can't use XHR for some reason, so don't try anymore
188-
return request_script(chain_opts,registry_item,onload);
188+
return request_script(chain_opts,script_obj,chain_group,registry_item,onload);
189189
}
190190
/*!START_DEBUG*/if (chain_opts[_Debug]) log_msg("start script preload (xhr): "+src);/*!END_DEBUG*/
191191
xhr.onreadystatechange = function() {

0 commit comments

Comments
 (0)