From 4ffc063695cffb3a6423b7aa3d95553e4c32a444 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 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) --- 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