From 0d0f4a0d79ba11673b4d2c0021ee54a8f0137f29 Mon Sep 17 00:00:00 2001 From: itsnoteasytonameaccount Date: Sun, 24 Mar 2024 03:30:45 +0800 Subject: [PATCH] =?UTF-8?q?[bugfix][=E7=A7=BB=E5=8A=A8=E7=AB=AF=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E6=8A=A5=E9=94=99=E9=97=AE=E9=A2=98]=20this=E4=BD=9C?= =?UTF-8?q?=E7=94=A8=E5=9F=9F=E6=9C=AA=E7=BB=91=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- noname/library/init/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);