From dc3d850a09eae9252457fd1c7689ad0f0a529e35 Mon Sep 17 00:00:00 2001 From: j Date: Wed, 8 Aug 2018 11:58:48 +0100 Subject: [PATCH] remove unused descriptions --- static/js/infoView.cms.js | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/static/js/infoView.cms.js b/static/js/infoView.cms.js index d0acdcf..5237fad 100644 --- a/static/js/infoView.cms.js +++ b/static/js/infoView.cms.js @@ -539,15 +539,7 @@ pandora.ui.infoView = function(data) { $icon.attr({src: src}); $reflectionIcon.attr({src: src}); } - if (Ox.contains(nameKeys, key)) { - 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') { + if (key == 'imdbId') { updateIMDb(); } });