From: Paul Bakaus Date: Thu, 28 Jan 2010 17:31:02 +0000 (+0000) Subject: effects: fixed #4097 - bind/fold didnt work X-Git-Tag: 1.8rc2~42 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5ef97d7a13e5f4d633097c56ceaf0e4aa516b0e3;p=jquery-ui.git effects: fixed #4097 - bind/fold didnt work --- diff --git a/ui/jquery.effects.core.js b/ui/jquery.effects.core.js index aba35659c..7656ff41a 100644 --- a/ui/jquery.effects.core.js +++ b/ui/jquery.effects.core.js @@ -365,6 +365,7 @@ $.extend($.effects, { }); element.wrap(wrapper); + wrapper = element.parent(); //Hotfix for jQuery 1.4 since some change in wrap() seems to actually loose the reference to the wrapped element // transfer positioning properties to the wrapper if (element.css('position') == 'static') {