diff --git a/src/js/lightslider.js b/src/js/lightslider.js index 6d9c79f..d71e22e 100644 --- a/src/js/lightslider.js +++ b/src/js/lightslider.js @@ -433,7 +433,7 @@ obj = ob.children().first(); } var setCss = function () { - var tH = obj.outerHeight(), + var tH = obj.prop('scrollHeight'), tP = 0, tHT = tH; if (fade) {