Skip to content

Commit 8b956e5

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

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
@@ -606,7 +606,7 @@ $.ui.plugin.add("resizable", "alsoResize", {
606606
});
607607
};
608608

609-
if (typeof(o.alsoResize) == 'object') {
609+
if (typeof(o.alsoResize) == 'object' && !o.alsoResize.parentNode) {
610610
$.each(o.alsoResize, function(exp, c) { _alsoResize(exp, c); });
611611
}else{
612612
_alsoResize(o.alsoResize);

0 commit comments

Comments
 (0)