Dont show NaN pages, fixes #148
This commit is contained in:
parent
4528ab60c4
commit
0cd6032816
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ oml.ui.gridView = function() {
|
|||
width = Math.round(ratio >= 1 ? size : size * ratio),
|
||||
height = Math.round(ratio <= 1 ? size : size / ratio),
|
||||
sortKey = sort[0].key,
|
||||
info = Ox.isNull(data[sortKey])
|
||||
info = Ox.isNull(data[sortKey]) || Ox.isUndefined(data[sortKey])
|
||||
? ''
|
||||
: Ox.contains(['title', 'random'], sortKey)
|
||||
? (data.author || []).join(', ')
|
||||
|
|
Loading…
Reference in a new issue