Bug 33848: Don't remove coce container from template

It's removed from coce.js

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Jonathan Druart 2023-05-31 13:41:26 +02:00 committed by Tomas Cohen Arazi
parent 38fc85ade9
commit aa8dc28e97
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -1505,7 +1505,7 @@
var img = div.find("img")[0];
if( img && $(img).length > 0 ){
var description = "";
if( img.naturalHeight == 0 && div.attr("id") != "googlejacket-coverimg" ){
if( img.naturalHeight == 0 && div.attr("id") != "googlejacket-coverimg" && div.hasClass('coce-coverimg') ){
// No image loaded in the container. Remove the slide
div.remove();
} else {