From bdd2594298506dda59130a188b9a63a3e283815b Mon Sep 17 00:00:00 2001 From: j Date: Tue, 19 Nov 2019 17:43:56 +0100 Subject: [PATCH] no stats without video --- static/js/infoView.erg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/infoView.erg.js b/static/js/infoView.erg.js index ee72d4d..cdb6391 100644 --- a/static/js/infoView.erg.js +++ b/static/js/infoView.erg.js @@ -319,7 +319,7 @@ pandora.ui.infoView = function(data, isMixed) { // Duration, Aspect Ratio -------------------------------------------------- - if (!isMultiple) { + if (!isMultiple && data.parts && data.rendered) { ['duration', 'aspectratio'].forEach(function(key) { var itemKey = Ox.getObjectById(pandora.site.itemKeys, key), value = data[key] || 0;