From: Jan Szejko Date: Wed, 11 Jul 2018 09:27:25 +0000 (+0200) Subject: change class name for expandable text X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/6c9c6aa32a1b986128d7e5c2547d22d7a9f8d943 change class name for expandable text --- diff --git a/src/catalogue/templates/catalogue/book_short.html b/src/catalogue/templates/catalogue/book_short.html index c8dd95f94..fff3fc0ff 100644 --- a/src/catalogue/templates/catalogue/book_short.html +++ b/src/catalogue/templates/catalogue/book_short.html @@ -155,7 +155,7 @@ {% endif %} {% endblock %} {% if book.abstract %} -
+
{{ book.abstract|safe }}
{% endif %} diff --git a/src/wolnelektury/static/js/base.js b/src/wolnelektury/static/js/base.js index bdb5fbee7..439ba1327 100644 --- a/src/wolnelektury/static/js/base.js +++ b/src/wolnelektury/static/js/base.js @@ -57,7 +57,7 @@ }) }); - $('.more').each(function () { + $('.more-expand').each(function () { $(this).shorten({ showChars: 150, moreText: "więcej",