Add non-smooth height changes
This commit is contained in:
parent
ed173025c4
commit
b468cb36c3
|
@ -556,7 +556,7 @@
|
|||
smoothHeight: function(dur) {
|
||||
if (!vertical || fade) {
|
||||
var $obj = (fade) ? slider : slider.viewport;
|
||||
(dur) ? $obj.css({"height": slider.slides.eq(slider.animatingTo).innerHeight(), "transition": "height " + dur + "ms"}) : $obj.innerHeight(slider.slides.eq(slider.animatingTo).innerHeight());
|
||||
$obj.css({"height": slider.slides.eq(slider.animatingTo).innerHeight(), "transition": dur ? ("height " + dur + "ms") : "none"});
|
||||
}
|
||||
},
|
||||
sync: function(action) {
|
||||
|
|
Loading…
Reference in New Issue