aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.resizable.js
diff options
context:
space:
mode:
authorEduardo Lundgren <eduardolundgren@gmail.com>2008-06-26 03:25:29 +0000
committerEduardo Lundgren <eduardolundgren@gmail.com>2008-06-26 03:25:29 +0000
commit70c593f4412c159797d1a6ae9ee1f1e4131b2a43 (patch)
tree12b1de1aa798d5c299f0de33c64ba1c8342cf387 /ui/ui.resizable.js
parent76f414bc5e25fc955bc1b607cd9f1362379a389d (diff)
downloadjquery-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.js3
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);
}