diff --git a/draw.js b/draw.js index 8644eab..72f34e8 100644 --- a/draw.js +++ b/draw.js @@ -279,7 +279,8 @@ var DrawingArea = new Lang.Class({ }, _stopWriting: function() { - this.elements.push(this.currentElement); + if (this.currentElement.text.length > 0) + this.elements.push(this.currentElement); this.currentElement = null; this._stopCursorTimeout(); this._redisplay();