Skip to content

Commit

Permalink
effects.blind: Save the wrapper status if already wrapped. Fixes #624…
Browse files Browse the repository at this point in the history
…5 - position: absolute is lost when .stop() is used with .show('blind').
  • Loading branch information
tomykaira authored and scottgonzalez committed May 25, 2011
1 parent af35f0b commit 129d5c7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ui/jquery.effects.blind.js
Expand Up @@ -31,7 +31,12 @@ $.effects.effect.blind = function( o ) {
animation = {},
wrapper, distance;

$.effects.save( el, props );
// if already wrapped, the wrapper's properties are my property. #6245
if ( el.parent().is( ".ui-effects-wrapper" ) ) {
$.effects.save( el.parent(), props );
} else {
$.effects.save( el, props );
}
el.show();
wrapper = $.effects.createWrapper( el ).css({
overflow: "hidden"
Expand Down

0 comments on commit 129d5c7

Please sign in to comment.