diff --git a/noname/library/init/index.js b/noname/library/init/index.js index 0cecce180..fc597e389 100644 --- a/noname/library/init/index.js +++ b/noname/library/init/index.js @@ -316,7 +316,7 @@ export class LibInit extends Uninstantable { if (typeof onerror == 'function') onerror(new Error(oReq.statusText || oReq.status)); return; } - onload(result); + onload.call(oReq, result); }); if (typeof onerror == 'function') oReq.addEventListener("error", onerror); oReq.open("GET", sScriptURL);