We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad2a61d commit 26c84c7Copy full SHA for 26c84c7
ui/effects.clip.js
@@ -31,7 +31,7 @@ $.effects.clip = function(o) {
31
size: (direction == 'vertical') ? 'height' : 'width',
32
position: (direction == 'vertical') ? 'top' : 'left'
33
};
34
- var distance = (direction == 'vertical') ? wrapper.height() : wrapper.width();
+ var distance = (direction == 'vertical') ? animate.height() : animate.width();
35
if(mode == 'show') { animate.css(ref.size, 0); animate.css(ref.position, distance / 2); } // Shift
36
37
// Animation
0 commit comments