From 09015cc5d99eb8836ff9bba10cb9908c752d906f Mon Sep 17 00:00:00 2001 From: j Date: Sun, 5 Aug 2018 19:04:30 +0100 Subject: [PATCH] 'NaN' not NaN --- static/js/infoView.amp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/infoView.amp.js b/static/js/infoView.amp.js index d0e3a93..dc8d03b 100644 --- a/static/js/infoView.amp.js +++ b/static/js/infoView.amp.js @@ -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') {