From: Radek Czajka Date: Fri, 9 Sep 2022 10:13:43 +0000 (+0200) Subject: fixes X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/190a12c5524f533a5fa74569575cccf22f745847?hp=a37fe43b4e66df55d0491ae6defae31a07a645be fixes --- diff --git a/src/catalogue/static/2022/book/filter.js b/src/catalogue/static/2022/book/filter.js index e4538ce4f..15d4e3492 100644 --- a/src/catalogue/static/2022/book/filter.js +++ b/src/catalogue/static/2022/book/filter.js @@ -33,16 +33,5 @@ }, 200); }, 200); }); - $("#sort-popular").on('click', function() { - $(".l-books__item").each(function() { - $(this).css('order', $(this).attr('data-pop')); - }); - }); - $("#sort-popular").on('click', function() { - $(".l-books__item").each(function() { - $(this).css('order', $(this).attr('data-pop')); - }); - }); - })(jQuery); diff --git a/src/catalogue/templates/catalogue/2022/book_box.html b/src/catalogue/templates/catalogue/2022/book_box.html index 55f851de9..2d2ac05e6 100644 --- a/src/catalogue/templates/catalogue/2022/book_box.html +++ b/src/catalogue/templates/catalogue/2022/book_box.html @@ -1,6 +1,6 @@ {% load sorl_thumbnail %} -
+