fix #1005 (info view: nbsp in 'MM min' and 'SS sec')

This commit is contained in:
rolux 2012-09-24 13:18:47 +02:00
parent f39b2ddf3f
commit 4ccebb882d

View file

@ -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]) + '&nbsp;sec'
: Math.round(data[key] / 60) + '&nbsp;min'
)
)
}