forked from 0x2620/pandora
add '%' to rating and votes values on 0xDB info page
This commit is contained in:
parent
7761d85632
commit
4b086a9c0e
1 changed files with 1 additions and 1 deletions
|
@ -380,7 +380,7 @@ pandora.ui.infoView = function(data) {
|
||||||
html = [];
|
html = [];
|
||||||
['rating', 'votes'].forEach(function(key) {
|
['rating', 'votes'].forEach(function(key) {
|
||||||
data[key] && html.push(
|
data[key] && html.push(
|
||||||
formatKey(key) + Ox.formatNumber(data[key], key == 'rating' ? 0 : 2)
|
formatKey(key) + Ox.formatNumber(data[key], key == 'rating' ? 0 : 2) + '%'
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
$div.html(html.join('; '));
|
$div.html(html.join('; '));
|
||||||
|
|
Loading…
Reference in a new issue