Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-kurmanov authored Dec 9, 2024
1 parent 5df233a commit 47f985f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions icons/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
setTimeout(()=>{
if (typeof SurveyCreatorCore !== "undefined") {
Survey.SvgRegistry.registerIcons(SurveyIcons.icons);
if (typeof SurveyCreatorCore !== "undefined") {
new SurveyCreatorCore.SurveyCreatorModel({}); // Register Survey Creator icons
}

Expand All @@ -23,4 +23,3 @@ setTimeout(()=>{
<span class="icon-name">icon-` + name + `</span>`;
document.getElementById("icons").appendChild(element);
});
}, 5000);

0 comments on commit 47f985f

Please sign in to comment.