Skip to content

Commit 9b82001

Browse files
lsharirscottgonzalez
authored andcommitted
Mouse: Fix delay timeout clearing upon mouseup
Fixes #14458 Closes gh-1579
1 parent 9bb9a8b commit 9b82001

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ui/widgets/mouse.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,11 @@ return $.widget("ui.mouse", {
179179
this._mouseStop(event);
180180
}
181181

182+
if (this._mouseDelayTimer) {
183+
clearTimeout(this._mouseDelayTimer);
184+
delete this._mouseDelayTimer;
185+
}
186+
182187
mouseHandled = false;
183188
return false;
184189
},

0 commit comments

Comments
 (0)