renderGroup can return nothing

This commit is contained in:
j 2017-03-01 12:51:19 +01:00
parent 896b57810a
commit 0d51906dd8

View file

@ -373,7 +373,7 @@ pandora.ui.infoView = function(data) {
}
// Extra Metadata
renderGroup([
var extra = renderGroup([
'presentedby',
'coproducer',
'associateproducer',
@ -385,7 +385,8 @@ pandora.ui.infoView = function(data) {
'screenplay',
'dialogue',
'adaptation'
]).css({marginTop: '12px'});
])
extra && extra.css({marginTop: '12px'});
renderGroup([
'musicdirector',
'backgroundmusic',