Fix duplicate provider name

This commit is contained in:
grandeljay 2022-02-23 18:08:50 +01:00
parent 7d6bec8918
commit 9473340341

View file

@ -135,7 +135,13 @@ $(function() {
/** Provider name */
if (info.providerName) {
var elementProviderName = elementImage.children('span.provider');
if (!elementProviderName.length) {
$('<span class="provider">' + info.providerName + '</span>').insertBefore(elementImage.children().last());
} else {
elementProviderName.text(info.providerName);
}
}
/**