From 190a12c5524f533a5fa74569575cccf22f745847 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Fri, 9 Sep 2022 12:13:43 +0200 Subject: [PATCH] fixes --- src/catalogue/static/2022/book/filter.js | 11 ----------- src/catalogue/templates/catalogue/2022/book_box.html | 2 +- src/catalogue/templates/catalogue/preview_ad.html | 2 +- 3 files changed, 2 insertions(+), 13 deletions(-) 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 %} -
+