fixes js http client

This commit is contained in:
huangjx
2022-05-04 11:59:31 +08:00
parent 840c672c09
commit f51ad10014
9 changed files with 127 additions and 42 deletions

View File

@@ -73,7 +73,7 @@ window.addEventListener('DOMContentLoaded', function () {
element.textContent = t("ncdownloader", "Stop Aria2");
}
}
Http.getInstance(url).setHandler(function (data) {
helper.httpClient(url).setHandler(function (data) {
callback(parent, oldHtml, data);
}).send();
})