correct formatting of rating and votes
This commit is contained in:
parent
77ba1ca955
commit
3b401b7166
2 changed files with 2 additions and 2 deletions
|
|
@ -379,7 +379,7 @@ pandora.ui.infoView = function(data) {
|
|||
html = [];
|
||||
['rating', 'votes'].forEach(function(key) {
|
||||
data[key] && html.push(
|
||||
formatKey(key) + Ox.formatNumber(data[key])
|
||||
formatKey(key) + Ox.formatNumber(data[key], key == 'rating' ? 0 : 2)
|
||||
);
|
||||
});
|
||||
$div.html(html.join('; '));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue