Fix duplicate provider name
This commit is contained in:
parent
7d6bec8918
commit
9473340341
1 changed files with 7 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue