Made optimizations to connector plugin, fixed issue 670 and possibly issue 664

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1714 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Alexis Deveria
2010-09-13 19:41:21 +00:00
parent 85ac3dace0
commit 119bf24229
3 changed files with 19 additions and 16 deletions

View File

@@ -500,7 +500,7 @@ $(function() {
$.getSvgIcon = function(id, uniqueClone) {
var icon = svg_icons[id];
if(uniqueClone) {
if(uniqueClone && icon) {
icon = fixIDs(icon, 0, true).clone(true);
}
return icon;