mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
core: fixed propagation issue that didn't allow resizables and sortables to work together, because the event didn't bubble out.
This commit is contained in:
parent
67117bc563
commit
8eca969374
@ -212,7 +212,7 @@ $.ui.mouse = {
|
|||||||
|
|
||||||
if (this.mouseDistanceMet(e) && this.mouseDelayMet(e)) {
|
if (this.mouseDistanceMet(e) && this.mouseDelayMet(e)) {
|
||||||
this._mouseStarted = (this.mouseStart(e) !== false);
|
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
|
// these delegates are required to keep context
|
||||||
|
Loading…
Reference in New Issue
Block a user