remove unused descriptions

This commit is contained in:
j 2018-08-08 11:58:48 +01:00
parent 6d25d7ea42
commit dc3d850a09

View file

@ -539,15 +539,7 @@ pandora.ui.infoView = function(data) {
$icon.attr({src: src}); $icon.attr({src: src});
$reflectionIcon.attr({src: src}); $reflectionIcon.attr({src: src});
} }
if (Ox.contains(nameKeys, key)) { if (key == 'imdbId') {
data['namedescription'] = result.data['namedescription'];
descriptions.names = getNames();
renderDescriptions();
} else if (key == 'productionCompany') {
data['productionCompanydescription'] = result.data['productionCompanydescription'];
descriptions.studios = getStudios();
renderDescriptions();
} else if (key == 'imdbId') {
updateIMDb(); updateIMDb();
} }
}); });