From 11a0302c533c3dff003f9cb72bb5ed30f1b02da8 Mon Sep 17 00:00:00 2001 From: janrode Date: Thu, 21 May 2015 11:47:43 +0200 Subject: [PATCH 1/2] wrong extend order in refresh function refresh function: wrong extend order for current settings _ and _.initials. this will break settings like initialSlide in combination with responsive. in this case the initialSlide property will be overwritten by _.initials.initialSlide which is always 0. --- slick/slick.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slick/slick.js b/slick/slick.js index b39cc48e5..248eed5e0 100644 --- a/slick/slick.js +++ b/slick/slick.js @@ -1489,7 +1489,7 @@ _.destroy(true); - $.extend(_, _.initials); + $.extend(_.initials, _); _.init(); From 6bcd1ff87001d322d87c22ae29db09beca48092c Mon Sep 17 00:00:00 2001 From: janrode Date: Mon, 25 May 2015 12:02:16 +0200 Subject: [PATCH 2/2] Bugfix PR #1376 --- slick/slick.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/slick/slick.js b/slick/slick.js index 248eed5e0..4b761182f 100644 --- a/slick/slick.js +++ b/slick/slick.js @@ -1489,7 +1489,7 @@ _.destroy(true); - $.extend(_.initials, _); + $.extend(_, _.initials, { currentSlide: currentSlide }); _.init();