Bug 28179: Adjust chocolat.js to display href
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 20 Apr 2021 14:35:39 +0000 (16:35 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 10 May 2021 13:52:53 +0000 (15:52 +0200)
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 <oleonard@myacpl.org>
Signed-off-by: Rasmus Leißner <rasmus.leissner@solutions-factory.de>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/lib/Chocolat/js/chocolat.js

index 8b47927..241e56b 100644 (file)
           }
 
           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(() => {