From 6ac89ca85586b2ef99f1b06ca66ba1785a0a076e 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=utf8 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 Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart Signed-off-by: Jonathan Druart --- 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 8b47927d28..241e56b7bf 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.39.5