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