diff options
author | Paul Bakaus <paul.bakaus@googlemail.com> | 2008-12-23 14:28:47 +0000 |
---|---|---|
committer | Paul Bakaus <paul.bakaus@googlemail.com> | 2008-12-23 14:28:47 +0000 |
commit | 3283a205c1c91fb296d3deb2665e1702aaf1e678 (patch) | |
tree | 1723306a4bffe0f8ef3db5ba3e60948706598491 /ui/ui.resizable.js | |
parent | 8b956e53897d4319765b35bbc9e5a3e4041c9c11 (diff) | |
download | jquery-ui-3283a205c1c91fb296d3deb2665e1702aaf1e678.tar.gz jquery-ui-3283a205c1c91fb296d3deb2665e1702aaf1e678.zip |
fixed alsoResize to also accept vanilla DOM nodes ( fixes #3693 )
Diffstat (limited to 'ui/ui.resizable.js')
-rw-r--r-- | ui/ui.resizable.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.resizable.js b/ui/ui.resizable.js index 1a05d97f4..84cd6e4b5 100644 --- a/ui/ui.resizable.js +++ b/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{ |