From 6ea48ddfe18814da3d1ecc60a4a5cee7e9ab9bb1 Mon Sep 17 00:00:00 2001 From: ayham Date: Fri, 10 Dec 2021 21:55:00 +0300 Subject: [PATCH] update --- js/partials.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/partials.js b/js/partials.js index 17791f4..b3696f9 100644 --- a/js/partials.js +++ b/js/partials.js @@ -2,7 +2,7 @@ function loadScript(scriptUrl) { const script = document.createElement('script'); script.src = scriptUrl; - document.body.appendChild(script); + document.head.appendChild(script); return new Promise((res, rej) => { script.onload = function() {