Permalink
Browse files

Mouse: Fix delay timeout clearing upon mouseup

Fixes #14458
Closes gh-1579
  • Loading branch information...
lsharir authored and scottgonzalez committed Jul 22, 2015
1 parent 9bb9a8b commit 9b82001a70a6273df037db9e602080011d0fd7ba
Showing with 5 additions and 0 deletions.
  1. +5 −0 ui/widgets/mouse.js
View
@@ -179,6 +179,11 @@ return $.widget("ui.mouse", {
this._mouseStop(event);
}
+ if (this._mouseDelayTimer) {
+ clearTimeout(this._mouseDelayTimer);
+ delete this._mouseDelayTimer;
+ }
+
mouseHandled = false;
return false;
},

0 comments on commit 9b82001

Please sign in to comment.