From cf10d98d50bf21b26f5daafc480d949654e85a1a Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 4 May 2015 10:55:47 +0200 Subject: [PATCH] check if alternative title has countries --- static/js/infoView.0xdb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/infoView.0xdb.js b/static/js/infoView.0xdb.js index 6ae1fbf9c..266a5d75e 100644 --- a/static/js/infoView.0xdb.js +++ b/static/js/infoView.0xdb.js @@ -348,7 +348,7 @@ pandora.ui.infoView = function(data) { formatKey('Alternative Title' + (data.alternativeTitles.length == 1 ? '' : 's')) + data.alternativeTitles.map(function(value) { return value[0] + ( - canSeeAllMetadata && Ox.isArray(value[1]) + canSeeAllMetadata && Ox.isArray(value[1]) && value[1].length ? ' ' + formatLight('(' + value[1].join(', ') + ')') : '' );