From fd4d429b3a0037640614b3eb2d077e944d1a42a0 Mon Sep 17 00:00:00 2001 From: Simon Goellner Date: Wed, 10 Feb 2016 21:12:22 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"Update:=20Fix=20Issue=20#2035=20-=20E?= =?UTF-8?q?xtra=20dot=20when=20slide=20count=20was=20not=20divisibl?= =?UTF-8?q?=E2=80=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- slick/slick.js | 1 - 1 file changed, 1 deletion(-) diff --git a/slick/slick.js b/slick/slick.js index dfcbed9c8..684629147 100644 --- a/slick/slick.js +++ b/slick/slick.js @@ -1050,7 +1050,6 @@ } else if (_.options.centerMode === true) { pagerQty = _.slideCount; } else { - counter = _.slideCount % _.options.slidesToShow == 0 ? counter : counter + 1; while (breakPoint < _.slideCount) { ++pagerQty; breakPoint = counter + _.options.slidesToScroll;