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.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/ui.sortable.js b/ui/ui.sortable.js
index 52779026f..92f4a997e 100644
--- a/ui/ui.sortable.js
+++ b/ui/ui.sortable.js
@@ -197,8 +197,8 @@ $.widget("ui.sortable", $.extend($.ui.mouse, {
var t = this.options.toleranceElement ? $(this.options.toleranceElement, this.items[i].item) : this.items[i].item;
if(!fast) {
- this.items[i].width = t.outerWidth();
- this.items[i].height = t.outerHeight();
+ this.items[i].width = t[0].offsetWidth;
+ this.items[i].height = t[0].offsetHeight;
}
var p = t.offset();