X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d18f17e7a8bdcafd4ef341b1cbe90c5c275a9dcb..150c16b9cecccacdbf17360d334fc618172f4179:/src/wolnelektury/static/2021/scripts/main.js?ds=sidebyside diff --git a/src/wolnelektury/static/2021/scripts/main.js b/src/wolnelektury/static/2021/scripts/main.js index 21c76a023..3dd799a25 100644 --- a/src/wolnelektury/static/2021/scripts/main.js +++ b/src/wolnelektury/static/2021/scripts/main.js @@ -155,7 +155,7 @@ $('.js-collections').each(function() { let collectionsSlider = $('.l-books', this); - if ($collectionsSlider.children().length < 2) return; + if (collectionsSlider.children().length < 2) return; let collectionsNextSlide = $('.js-next-slide', this); let collectionsPrevSlide = $('.js-prev-slide', this);