Skip to content
Permalink
Browse files

fixed alsoResize to also accept vanilla DOM nodes ( fixes #3693 )

  • Loading branch information
Paul Bakaus
Paul Bakaus committed Dec 23, 2008
1 parent 8b956e5 commit 3283a205c1c91fb296d3deb2665e1702aaf1e678
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/ui.resizable.js
@@ -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); }
else { $.each(o.alsoResize, function(exp, c) { _store(exp); }); }
}else{

0 comments on commit 3283a20

Please sign in to comment.
You can’t perform that action at this time.