check if alternative title has countries
This commit is contained in:
parent
80fd7c027e
commit
cf10d98d50
1 changed files with 1 additions and 1 deletions
|
@ -348,7 +348,7 @@ pandora.ui.infoView = function(data) {
|
||||||
formatKey('Alternative Title' + (data.alternativeTitles.length == 1 ? '' : 's'))
|
formatKey('Alternative Title' + (data.alternativeTitles.length == 1 ? '' : 's'))
|
||||||
+ data.alternativeTitles.map(function(value) {
|
+ data.alternativeTitles.map(function(value) {
|
||||||
return value[0] + (
|
return value[0] + (
|
||||||
canSeeAllMetadata && Ox.isArray(value[1])
|
canSeeAllMetadata && Ox.isArray(value[1]) && value[1].length
|
||||||
? ' ' + formatLight('(' + value[1].join(', ') + ')')
|
? ' ' + formatLight('(' + value[1].join(', ') + ')')
|
||||||
: ''
|
: ''
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue