aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.resizable.js
diff options
context:
space:
mode:
authorPaul Bakaus <paul.bakaus@googlemail.com>2008-12-23 14:24:34 +0000
committerPaul Bakaus <paul.bakaus@googlemail.com>2008-12-23 14:24:34 +0000
commit8b956e53897d4319765b35bbc9e5a3e4041c9c11 (patch)
tree426418e8fc7da43eb97435ed7be620669a5354a2 /ui/ui.resizable.js
parent346034225a1686fe633624d6348255307c2bfbf9 (diff)
downloadjquery-ui-8b956e53897d4319765b35bbc9e5a3e4041c9c11.tar.gz
jquery-ui-8b956e53897d4319765b35bbc9e5a3e4041c9c11.zip
fixed alsoResize to also accept vanilla DOM nodes ( fixes #3693 )
Diffstat (limited to 'ui/ui.resizable.js')
-rw-r--r--ui/ui.resizable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.resizable.js b/ui/ui.resizable.js
index 737ae4a75..1a05d97f4 100644
--- a/ui/ui.resizable.js
+++ b/ui/ui.resizable.js
@@ -606,7 +606,7 @@ $.ui.plugin.add("resizable", "alsoResize", {
});
};
- if (typeof(o.alsoResize) == 'object') {
+ if (typeof(o.alsoResize) == 'object' && !o.alsoResize.parentNode) {
$.each(o.alsoResize, function(exp, c) { _alsoResize(exp, c); });
}else{
_alsoResize(o.alsoResize);