diff --git a/ui/widgets/mouse.js b/ui/widgets/mouse.js index 3f07e1101..938d0f4b7 100644 --- a/ui/widgets/mouse.js +++ b/ui/widgets/mouse.js @@ -183,8 +183,8 @@ return $.widget( "ui.mouse", { this._mouseStop( event ); } - if (this._mouseDelayTimer) { - clearTimeout(this._mouseDelayTimer); + if ( this._mouseDelayTimer ) { + clearTimeout( this._mouseDelayTimer ); delete this._mouseDelayTimer; }