From 5df233aadaa97d1a5a9e172da499ab88bc7b8e3a Mon Sep 17 00:00:00 2001 From: Dmitry Kurmanov Date: Mon, 9 Dec 2024 16:04:04 +0400 Subject: [PATCH] Update index.js --- icons/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icons/index.js b/icons/index.js index 1cad272..5b02db3 100644 --- a/icons/index.js +++ b/icons/index.js @@ -1,4 +1,4 @@ -document.addEventListener("load", (event) => { +setTimeout(()=>{ if (typeof SurveyCreatorCore !== "undefined") { new SurveyCreatorCore.SurveyCreatorModel({}); // Register Survey Creator icons } @@ -23,4 +23,4 @@ document.addEventListener("load", (event) => { icon-` + name + ``; document.getElementById("icons").appendChild(element); }); -}); +}, 5000);