forked from 0x2620/pandora
fix #1981 (empty brackets in preview dialog title if no director)
This commit is contained in:
parent
ff13a30639
commit
41a83eca7a
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ pandora.ui.previewDialog = function() {
|
|||
: item.posterRatio,
|
||||
size = getSize(posterRatio),
|
||||
title = item.title + (
|
||||
item.director ? ' (' + item.director.join(', ') + ')' : ''
|
||||
item.director.length ? ' (' + item.director.join(', ') + ')' : ''
|
||||
) + (
|
||||
item.year ? ' ' + item.year : ''
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue