mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
fixed alsoResize to also accept vanilla DOM nodes ( fixes #3693 )
This commit is contained in:
parent
8b956e5389
commit
3283a205c1
@ -577,7 +577,7 @@ $.ui.plugin.add("resizable", "alsoResize", {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
if (typeof(o.alsoResize) == 'object') {
|
if (typeof(o.alsoResize) == 'object' && !o.alsoResize.parentNode) {
|
||||||
if (o.alsoResize.length) { o.alsoResize = o.alsoResize[0]; _store(o.alsoResize); }
|
if (o.alsoResize.length) { o.alsoResize = o.alsoResize[0]; _store(o.alsoResize); }
|
||||||
else { $.each(o.alsoResize, function(exp, c) { _store(exp); }); }
|
else { $.each(o.alsoResize, function(exp, c) { _store(exp); }); }
|
||||||
}else{
|
}else{
|
||||||
|
Loading…
Reference in New Issue
Block a user