From 397ebbc2a49a3d22e709a69842805ccaee6eed78 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Thu, 3 Oct 2019 13:56:41 +0200 Subject: [PATCH] #79, Disable async load for dynamically inserted scripts --- assets/search.js | 1 + 1 file changed, 1 insertion(+) 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;