var $slider = $('.single-project-slideshow'); $(document).on('keydown', function(e) { if(e.keyCode == 37) { $slider.slick('slickPrev'); } if(e.keyCode == 39) { $slider.slick('slickNext'); } });
var $slider = $('.single-project-slideshow'); $(document).on('keydown', function(e) { if(e.keyCode == 37) { $slider.slick('slickPrev'); } if(e.keyCode == 39) { $slider.slick('slickNext'); } });
Thanks for subscribing!