@@ -, +, @@ div for single-pixel images - CoceHost = https://coce.mykoha.co.nz - CoceProviders = Select all - IntranetCoce = Enable --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -227,7 +227,7 @@ [% IF ( IntranetCoce && CoceProviders && normalized_isbn ) %] [% coce_id = normalized_ean || normalized_isbn %] -
+
[% IF ( coce_id ) %] [% ELSE %] @@ -1340,7 +1340,7 @@ Note that permanent location is a code, and location may be an authval. } else if ( div.attr("id") == "syndetics-bookcoverimg" ){ lightbox_descriptions.push(_("Syndetics cover image (see the original image)").format($(img).data('link'))); } - else if( div.attr("id") == "coce-coverimg" ){ + else if( div.hasClass("coce-coverimg" ) ){ // Identify which service's image is being loaded by Coce var coce_description; if( $(img).attr("src").indexOf('amazon.com') >= 0 ){ --