From 9e6d0060408adf9c965a462a049a12d01c5734a2 Mon Sep 17 00:00:00 2001 From: RubaXa Date: Sat, 18 Jul 2015 09:42:34 +0300 Subject: [PATCH] #459: * code style --- Sortable.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Sortable.js b/Sortable.js index aefee82..4bcd22d 100644 --- a/Sortable.js +++ b/Sortable.js @@ -400,11 +400,12 @@ _emulateDragOver: function () { if (touchEvt) { - if (this._lastX===touchEvt.clientX && this._lastY===touchEvt.clientY ) { + if (this._lastX === touchEvt.clientX && this._lastY === touchEvt.clientY) { return; } - this._lastX=touchEvt.clientX; - this._lastY=touchEvt.clientY; + + this._lastX = touchEvt.clientX; + this._lastY = touchEvt.clientY; _css(ghostEl, 'display', 'none');