diff options
author | Eduardo Lundgren <eduardolundgren@gmail.com> | 2008-06-26 03:25:29 +0000 |
---|---|---|
committer | Eduardo Lundgren <eduardolundgren@gmail.com> | 2008-06-26 03:25:29 +0000 |
commit | 70c593f4412c159797d1a6ae9ee1f1e4131b2a43 (patch) | |
tree | 12b1de1aa798d5c299f0de33c64ba1c8342cf387 /ui/ui.resizable.js | |
parent | 76f414bc5e25fc955bc1b607cd9f1362379a389d (diff) | |
download | jquery-ui-70c593f4412c159797d1a6ae9ee1f1e4131b2a43.tar.gz jquery-ui-70c593f4412c159797d1a6ae9ee1f1e4131b2a43.zip |
alsoResize option bug fixes
Diffstat (limited to 'ui/ui.resizable.js')
-rw-r--r-- | ui/ui.resizable.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/ui.resizable.js b/ui/ui.resizable.js index a253ac6ec..5192129b4 100644 --- a/ui/ui.resizable.js +++ b/ui/ui.resizable.js @@ -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); } |