Oops, hopefully fixed bug that killed icons in last revision

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1717 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Alexis Deveria 2010-09-15 20:18:18 +00:00
parent fac8fbe1d1
commit d42b8b919f
1 changed files with 6 additions and 5 deletions

View File

@ -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');
});
},