mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
core: reverted change that caused all plugins to malfunction - will later be introduced when the tests are ready.
This commit is contained in:
parent
70702aee59
commit
0f9bb627ee
@ -26,7 +26,7 @@
|
||||
|
||||
for (var i = 0; i < set.length; i++) {
|
||||
if (instance.options[set[i][0]]) {
|
||||
set[i][1].apply(instance, args);
|
||||
set[i][1].apply(instance.element, args);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user