diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-10-03 13:56:41 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2019-10-03 13:56:41 +0200 |
commit | 397ebbc2a49a3d22e709a69842805ccaee6eed78 (patch) | |
tree | e341ad4f0d5e8b59c0a5fdf62b8ffed0e9b71167 /assets | |
parent | ff6ba4b1ae680e51ead0588eb61c4c9037fb44ad (diff) |
#79, Disable async load for dynamically inserted scripts
Diffstat (limited to 'assets')
-rw-r--r-- | assets/search.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/assets/search.js b/assets/search.js index 3cc9702..b104b41 100644 --- a/assets/search.js +++ b/assets/search.js @@ -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; |