From 4ccebb882d54c5fd12ba0712f785292665463582 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 24 Sep 2012 13:18:47 +0200 Subject: [PATCH] fix #1005 (info view: nbsp in 'MM min' and 'SS sec') --- static/js/pandora/infoView.0xdb.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/pandora/infoView.0xdb.js b/static/js/pandora/infoView.0xdb.js index 22aa2c1d..be29eac5 100644 --- a/static/js/pandora/infoView.0xdb.js +++ b/static/js/pandora/infoView.0xdb.js @@ -248,8 +248,8 @@ pandora.ui.infoView = function(data) { html.push( formatKey(key) + ( key != 'runtime' ? formatValue(data[key], key) - : data[key] < 60 ? Math.round(data[key]) + ' sec' - : Math.round(data[key] / 60) + ' min' + : data[key] < 60 ? Math.round(data[key]) + ' sec' + : Math.round(data[key] / 60) + ' min' ) ) }