]> source.dussan.org Git - jquery-ui.git/commitdiff
effects: fixed #4097 - bind/fold didnt work
authorPaul Bakaus <paul.bakaus@googlemail.com>
Thu, 28 Jan 2010 17:31:02 +0000 (17:31 +0000)
committerPaul Bakaus <paul.bakaus@googlemail.com>
Thu, 28 Jan 2010 17:31:02 +0000 (17:31 +0000)
ui/jquery.effects.core.js

index aba35659c765c4b6f3d215f7df282002df1611d6..7656ff41a7a0b4523c3904de99683958e2f9a669 100644 (file)
@@ -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') {