From f17737b2d4b2fdd8bf474ac62a62176a9bd496bf Mon Sep 17 00:00:00 2001 From: Scott González Date: Wed, 4 Jun 2008 19:32:33 +0000 Subject: Mouse: invoke drag immediately on start if the start occurs during mousemove.. --- ui/source/ui.core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/source/ui.core.js b/ui/source/ui.core.js index c96426ac8..0ad95ce57 100644 --- a/ui/source/ui.core.js +++ b/ui/source/ui.core.js @@ -236,7 +236,7 @@ $.ui.mouse = { if (this.mouseDistanceMet(e) && this.mouseDelayMet(e)) { this._mouseStarted = (this.mouseStart(this._mouseDownEvent, e) !== false); - (this._mouseStarted || this.mouseUp(e)); + (this._mouseStarted ? this.mouseDrag(e) : this.mouseUp(e)); } return !this._mouseStarted; -- cgit v1.2.3