mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Sortable - Float elements tolerance fixed
This commit is contained in:
parent
cd01814a85
commit
fe12e22f47
@ -127,7 +127,7 @@ $.widget("ui.sortable", $.extend({}, $.ui.mouse, {
|
|||||||
var horizontalDirection = this._getDragHorizontalDirection();
|
var horizontalDirection = this._getDragHorizontalDirection();
|
||||||
|
|
||||||
if (this.floating) {
|
if (this.floating) {
|
||||||
if (isOverElementWidth) {
|
if (isOverElement) {
|
||||||
return horizontalDirection == "right" ? 2 : 1;
|
return horizontalDirection == "right" ? 2 : 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user