Mouse: Fix delay timeout clearing upon mouseup

Fixes #14458
Closes gh-1579

(cherry picked from commit 9b82001a70)
This commit is contained in:
Liran Sharir 2015-07-22 15:58:47 +03:00 committed by Scott González
parent 1eebf50aa9
commit e000aaac52

View File

@ -173,6 +173,11 @@ return $.widget("ui.mouse", {
this._mouseStop(event);
}
if (this._mouseDelayTimer) {
clearTimeout(this._mouseDelayTimer);
delete this._mouseDelayTimer;
}
mouseHandled = false;
return false;
},