Skip to content
Browse files

Jimmyhat check...

  • Loading branch information...
1 parent 8f85bfa commit 4d16667a321a43b195f5d6cecf20d59f02ff1c1b @etgryphon committed Oct 19, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 frameworks/canvas/system/canvas.js
View
1 frameworks/canvas/system/canvas.js
@@ -150,6 +150,7 @@ Sai.Canvas = SC.Object.extend({
if (!element) return;
var oe = oes || this._orderedElements;
if (oe) oe.removeObject(element);
+ if (SC.none(this._elements)) return;
delete this._elements[element.get('id')];
element.destroy();
},

0 comments on commit 4d16667

Please sign in to comment.
Something went wrong with that request. Please try again.