From: Radek Czajka Date: Mon, 9 Nov 2020 10:16:57 +0000 (+0100) Subject: Fix displaying images. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/3630431838af58be873aebdb5af6eccb430cb759?hp=8925f2b32fe3bfd9f9325cb7486c3b2058d25d0a Fix displaying images. --- diff --git a/src/wolnelektury/static/js/book_text/references.js b/src/wolnelektury/static/js/book_text/references.js index 23f7b0302..365a18c1b 100644 --- a/src/wolnelektury/static/js/book_text/references.js +++ b/src/wolnelektury/static/js/book_text/references.js @@ -74,7 +74,7 @@ } } - $("#reference-images img").remove(); + $("#reference-images a").remove(); if (ref.images) { $.each(ref.images, function(i, e) { $i = $("");