'NaN' not NaN

This commit is contained in:
j 2018-08-05 19:04:30 +01:00
parent 242b3bb374
commit 09015cc5d9

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') {