mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-01-30 08:08:10 -05:00
Mouse: invoke drag immediately on start if the start occurs during mousemove..
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user