Having troubles with my slickUnfilter function, even though slickFilter is working perfectly?
Here's a snippet of my HTML:
<div class="slider-wrapper" id="wrapper">
<div class="post" id="post1"></div>
<div class="" id="post2"></div>
<div class="" id="post3"></div>
<div class="" id="post4"></div>
</div>
This is the code I'm using:
setInterval(function(){
$('.slider-wrapper').slick('slickFilter', '.post');
},10000);
setInterval(function(){
$('.slider-wrapper').slick('slickUnfilter');
},12000);
You can check out JSFiddle for a live example: https://jsfiddle.net/ajtwz3Lv/8/ Oddly enough, it works in JSFiddle but not when I run it locally.