diff --git a/editor/svgicons/jquery.svgicons.js b/editor/svgicons/jquery.svgicons.js index a6ae2af8..b4049abf 100644 --- a/editor/svgicons/jquery.svgicons.js +++ b/editor/svgicons/jquery.svgicons.js @@ -154,12 +154,13 @@ $(function() { $.ajax({ url: file, success: function(data) { - if(!data) { - $(useFallback); - return; - } - svgdoc = parser.parseFromString(data, "text/xml"); $(function() { + if(!data) { + useFallback(); + return; + } + svgdoc = parser.parseFromString(data, "text/xml"); + getIcons('ajax'); }); },