mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-04-25 08:33:26 +08:00
修复加载问题
This commit is contained in:
commit
588028c952
@ -219,7 +219,7 @@ function main() {
|
|||||||
}
|
}
|
||||||
// >>>> body end
|
// >>>> body end
|
||||||
|
|
||||||
main.prototype.loadScript = function (src, module) {
|
main.prototype.loadScript = async function (src, module) {
|
||||||
const script = document.createElement('script');
|
const script = document.createElement('script');
|
||||||
script.src = src;
|
script.src = src;
|
||||||
if (module) script.type = 'module';
|
if (module) script.type = 'module';
|
||||||
|
Loading…
Reference in New Issue
Block a user