aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/ui.core.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.core.js b/ui/ui.core.js
index 492e3a3ea..7e5a238c7 100644
--- a/ui/ui.core.js
+++ b/ui/ui.core.js
@@ -484,7 +484,7 @@ $.ui.mouse = {
if (this._mouseStarted) {
this._mouseStarted = false;
- this._preventClickEvent = true;
+ this._preventClickEvent = (event.target == this._mouseDownEvent.target);
this._mouseStop(event);
}