'NaN' not NaN

This commit is contained in:
j 2018-08-05 19:04:30 +01:00
parent 242b3bb374
commit 09015cc5d9
1 changed files with 1 additions and 1 deletions

View File

@ -570,7 +570,7 @@ pandora.ui.infoView = function(data) {
['', '%Y', '%B %Y', '%B %e, %Y'][value.split('-').length],
true
) : '';
if (ret == NaN) {
if (ret.trim() == 'NaN') {
ret = value
}
} else if (key == 'links') {