aboutsummaryrefslogtreecommitdiffstats
path: root/ui/source/ui.sortable.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/source/ui.sortable.js')
-rw-r--r--ui/source/ui.sortable.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/source/ui.sortable.js b/ui/source/ui.sortable.js
index 4f48c1498..8d9c7822d 100644
--- a/ui/source/ui.sortable.js
+++ b/ui/source/ui.sortable.js
@@ -544,8 +544,8 @@
if((o.containment.left != undefined || o.containment.constructor == Array) && !o._containment) return;
if(!o._containment) o._containment = o.containment;
- if(o._containment == 'parent') o._containment = this.element[0].parentNode;
- if(o._containment == 'sortable') o._containment = this.element[0];
+ if(o._containment == 'parent') o._containment = this[0].parentNode;
+ if(o._containment == 'sortable') o._containment = this[0];
if(o._containment == 'document') {
o.containment = [
0,