#79, Disable async load for dynamically inserted scripts
This commit is contained in:
parent
ff6ba4b1ae
commit
397ebbc2a4
1 changed files with 1 additions and 0 deletions
|
@ -57,6 +57,7 @@
|
|||
function loadScript(src, callback) {
|
||||
const script = document.createElement("script");
|
||||
script.defer = true;
|
||||
script.async = false;
|
||||
script.src = src;
|
||||
script.onload = callback;
|
||||
|
||||
|
|
Loading…
Reference in a new issue