E847 core: fixed propagation issue that didn't allow resizables and sortab… · ainformatico/jquery-ui@8eca969 · GitHub
Skip to content

Commit 8eca969

Browse files
author
Paul Bakaus
committed
core: fixed propagation issue that didn't allow resizables and sortables to work together, because the event didn't bubble out.
1 parent 67117bc commit 8eca969

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/ui.core.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ $.ui.mouse = {
212212

213213
if (this.mouseDistanceMet(e) && this.mouseDelayMet(e)) {
214214
this._mouseStarted = (this.mouseStart(e) !== false);
215-
if (!this._mouseStarted) { return false; }
215+
if (!this._mouseStarted) { e.preventDefault(); return true; }
216216
}
217217

218218
// these delegates are required to keep context

0 commit comments

Comments
 (0)