Skip to content
Permalink
Browse files

effects.blind: Save the wrapper status if already wrapped. Fixes #624…

…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 129d5c75aca94ae636ba6396124c4938e43a50f3
Showing with 6 additions and 1 deletion.
  1. +6 −1 ui/jquery.effects.blind.js
@@ -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"

0 comments on commit 129d5c7

Please sign in to comment.
You can’t perform that action at this time.