diff options
-rw-r--r-- | ui/widgets/mouse.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/widgets/mouse.js b/ui/widgets/mouse.js index 2114f1870..b06f219b4 100644 --- a/ui/widgets/mouse.js +++ b/ui/widgets/mouse.js @@ -179,6 +179,11 @@ return $.widget("ui.mouse", { this._mouseStop(event); } + if (this._mouseDelayTimer) { + clearTimeout(this._mouseDelayTimer); + delete this._mouseDelayTimer; + } + mouseHandled = false; return false; }, |