Sortable - Float elements tolerance fixed

This commit is contained in:
Eduardo Lundgren 2008-10-28 14:44:27 +00:00
parent cd01814a85
commit fe12e22f47

View File

@ -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;
} }
} }