From e81370a8336a16061c4d744ba1c208192c6a1af4 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 20 Apr 2021 16:35:39 +0200 Subject: [PATCH] Bug 28179: Adjust chocolat.js to display href MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In order to display link in the description we need to adjust chocolat.js Maybe this needs to be reported upstream Sponsored-by: Gerhard Sondermann Dialog e.K. (presseplus.de, presseshop.at, presseshop.ch) Signed-off-by: Owen Leonard Signed-off-by: Rasmus Leißner --- koha-tmpl/intranet-tmpl/lib/Chocolat/js/chocolat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/lib/Chocolat/js/chocolat.js b/koha-tmpl/intranet-tmpl/lib/Chocolat/js/chocolat.js index 8b47927d28b..241e56b7bf1 100644 --- a/koha-tmpl/intranet-tmpl/lib/Chocolat/js/chocolat.js +++ b/koha-tmpl/intranet-tmpl/lib/Chocolat/js/chocolat.js @@ -309,7 +309,7 @@ } this.settings.currentImageIndex = index; - this.elems.description.textContent = this.settings.description.call(this); + this.elems.description.innerHTML = this.settings.description.call(this); this.elems.pagination.textContent = this.settings.pagination.call(this); this.arrows(); return this.position(image).then(() => { -- 2.20.1