Open elineopsommer opened 8 years ago
Dope! Thanks I will try to review the PR soon.
I've the same problem !! :'(
but the fix don't works for me
You can use the repo https://github.com/elineopsommer/slick for now till the pull request is merged. Can you let me know if this works for you?
Really! ? :'( :'( But at first, I copied your commit, exactly on the same line in version 1.6 of the repo. And now, I used the minified file via CDN: https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.6.0/slick.min.js
And I always thus error in my file, unfortunately, I can not recurrence of jsFiddle :(
jsFiddle it's works : https://jsfiddle.net/y9axf5kp/1/
but not in local site
So, arrows no longer function, but the slider is well established, it's weird
I Got IT !!!!! ^^
It's Good and It's Beautiful !!!!!! lool nooooo it's an idea of my boss ^^
I had the same problem on the version 1.6 I replaced it with the varsion 1.5.9 and it works.
When set multiple selectors on the "asNavFor" setting, there's a bug "Uncaught TypeError: Cannot read property 'getSlick' of undefined". The error occurs on this code snippet: `if (.options.asNavFor) { navTarget = .getNavTarget(); navTarget = navTarget.slick('getSlick');
This is fixed by following the same approach as in " Slick.prototype.asNavFor":
if (_.options.asNavFor) { navTarget = _.getNavTarget(); if (navTarget !== null && typeof navTarget === 'object') { navTarget.each(function () { var navTarget = $(this).slick('getSlick'); if (navTarget.slideCount <= navTarget.options.slidesToShow) { navTarget.setSlideClasses(_.currentSlide); } }); } }
I created a pull request to solve this issue (#2526)