refactored and optimized Image.js and Type.js

This commit is contained in:
Eric Rowell
2013-03-24 13:12:33 -07:00
parent c8e83dfacb
commit ffe11a4539
3 changed files with 102 additions and 71 deletions

View File

@@ -154,7 +154,7 @@
go._removeName(this.getName(), this._id);
// stop DD
if(dd && dd.targetNode && dd.targetNode._id === this._id) {
if(dd && dd.node && dd.node._id === this._id) {
node._endDrag();
}