mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
alsoResize option bug fixes
This commit is contained in:
parent
76f414bc5e
commit
70c593f441
@ -722,7 +722,8 @@ $.ui.plugin.add("resizable", "alsoResize", {
|
||||
};
|
||||
|
||||
if (typeof(o.alsoResize) == 'object') {
|
||||
$.each(o.alsoResize, function(exp, c) { _store(exp); });
|
||||
if (o.alsoResize.length) { o.alsoResize = o.alsoResize[0]; _store(o.alsoResize); }
|
||||
else { $.each(o.alsoResize, function(exp, c) { _store(exp); }); }
|
||||
}else{
|
||||
_store(o.alsoResize);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user