From 7de1a47b4c70854b0fad73ccfc0b714831a0655b Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 22 Feb 2022 19:13:53 +0100 Subject: [PATCH] wip #5120 --- resources/js/search.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/resources/js/search.js b/resources/js/search.js index e143a8c..f7a1b1f 100644 --- a/resources/js/search.js +++ b/resources/js/search.js @@ -68,13 +68,3 @@ export default () => ({ }); -const loadScript = src => { - return new Promise((resolve, reject) => { - const script = document.createElement('script') - script.type = 'text/javascript' - script.onload = resolve - script.onerror = reject - script.src = src - document.head.append(script) - }) -} -- 2.39.5