Skip to content

Commit 3283a20

Browse files
author
Paul Bakaus
committed
fixed alsoResize to also accept vanilla DOM nodes ( fixes #3693 )
1 parent 8b956e5 commit 3283a20

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/ui.resizable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ $.ui.plugin.add("resizable", "alsoResize", {
577577
});
578578
};
579579

580-
if (typeof(o.alsoResize) == 'object') {
580+
if (typeof(o.alsoResize) == 'object' && !o.alsoResize.parentNode) {
581581
if (o.alsoResize.length) { o.alsoResize = o.alsoResize[0]; _store(o.alsoResize); }
582582
else { $.each(o.alsoResize, function(exp, c) { _store(exp); }); }
583583
}else{

0 commit comments

Comments
 (0)