From 6c9c6aa32a1b986128d7e5c2547d22d7a9f8d943 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Wed, 11 Jul 2018 11:27:25 +0200 Subject: [PATCH 1/1] change class name for expandable text --- src/catalogue/templates/catalogue/book_short.html | 2 +- src/wolnelektury/static/js/base.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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", -- 2.20.1