diff options
author | Scott González <scott.gonzalez@gmail.com> | 2008-06-04 19:32:33 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2008-06-04 19:32:33 +0000 |
commit | f17737b2d4b2fdd8bf474ac62a62176a9bd496bf (patch) | |
tree | 3293d9302aaeb1f9f7b712b2d5d76cf84ce7816e /ui/source/ui.core.js | |
parent | 2f80c18734253d78ad1fb4c216e395894625a998 (diff) | |
download | jquery-ui-f17737b2d4b2fdd8bf474ac62a62176a9bd496bf.tar.gz jquery-ui-f17737b2d4b2fdd8bf474ac62a62176a9bd496bf.zip |
Mouse: invoke drag immediately on start if the start occurs during mousemove..
Diffstat (limited to 'ui/source/ui.core.js')
-rw-r--r-- | ui/source/ui.core.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; |