Mouse: Style fixes for jscs

This commit is contained in:
Alexander Schmitz 2015-09-11 08:42:02 -04:00
parent e0acfda162
commit 5b5cb6153c

View File

@ -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;
}