From b8c83ed242f972de3ea5d148a1013f104062c786 Mon Sep 17 00:00:00 2001 From: GordoRank Date: Mon, 13 Jan 2014 22:22:40 +0000 Subject: [PATCH] Fix formatting --- src/mixins/itext_behavior.mixin.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/mixins/itext_behavior.mixin.js b/src/mixins/itext_behavior.mixin.js index 56f35009..0bbb37de 100644 --- a/src/mixins/itext_behavior.mixin.js +++ b/src/mixins/itext_behavior.mixin.js @@ -110,13 +110,12 @@ initDelayedCursor: function(restart) { var _this = this; - if(restart){ - this._abortCursorAnimation = true; - clearTimeout(this._cursorTimeout1); - this._currentCursorOpacity = 1; - this.canvas && this.canvas.renderAll(); - } - + if (restart){ + this._abortCursorAnimation = true; + clearTimeout(this._cursorTimeout1); + this._currentCursorOpacity = 1; + this.canvas && this.canvas.renderAll(); + } if (this._cursorTimeout2) { clearTimeout(this._cursorTimeout2); }