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 b32d29305..d7a28c967 100644
--- a/ui/ui.core.js
+++ b/ui/ui.core.js
@@ -212,7 +212,7 @@ $.ui.mouse = {
if (this.mouseDistanceMet(e) && this.mouseDelayMet(e)) {
this._mouseStarted = (this.mouseStart(e) !== false);
- if (!this._mouseStarted) { return false; }
+ if (!this._mouseStarted) { e.preventDefault(); return true; }
}
// these delegates are required to keep context