diff --git a/public/main.js b/public/main.js index ebb056a..4385e04 100644 --- a/public/main.js +++ b/public/main.js @@ -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';