From 4b086a9c0efee9d782a01d4a3a0c6ac0e0dd854b Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 8 Mar 2012 12:43:26 +0000 Subject: [PATCH] add '%' to rating and votes values on 0xDB info page --- static/js/pandora/infoView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/pandora/infoView.js b/static/js/pandora/infoView.js index 9410f471..b79c1d9e 100644 --- a/static/js/pandora/infoView.js +++ b/static/js/pandora/infoView.js @@ -380,7 +380,7 @@ pandora.ui.infoView = function(data) { html = []; ['rating', 'votes'].forEach(function(key) { 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('; '));