Skip to content

Commit b61397d

Browse files
author
Liran
committed
Mouse: Fix delay timeout clearing upon mouseup
1 parent f4331c8 commit b61397d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ui/mouse.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,10 @@ return $.widget("ui.mouse", {
177177
this._mouseStop(event);
178178
}
179179

180+
if (this.options.delay && this._mouseDelayTimer) {
181+
clearTimeout(this._mouseDelayTimer);
182+
}
183+
180184
mouseHandled = false;
181185
return false;
182186
},

0 commit comments

Comments
 (0)