aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.sortable.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/ui.sortable.js')
-rw-r--r--ui/ui.sortable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.sortable.js b/ui/ui.sortable.js
index d1871c940..572725529 100644
--- a/ui/ui.sortable.js
+++ b/ui/ui.sortable.js
@@ -127,7 +127,7 @@ $.widget("ui.sortable", $.extend({}, $.ui.mouse, {
var horizontalDirection = this._getDragHorizontalDirection();
if (this.floating) {
- if (isOverElementWidth) {
+ if (isOverElement) {
return horizontalDirection == "right" ? 2 : 1;
}
}