forked from 0x2620/pandora
use Ox.formatColorPercent
This commit is contained in:
parent
af9a038c19
commit
8b21a69c56
1 changed files with 1 additions and 5 deletions
|
@ -461,11 +461,7 @@ pandora.ui.infoView = function(data) {
|
|||
$('<div>')
|
||||
.css({marginBottom: '4px'})
|
||||
.append(formatKey(key == 'votes' ? 'Mainstream Score' : 'Arthouse Score'), true)
|
||||
.append(
|
||||
Ox.Theme.formatColor(Math.sqrt(value) * 12, 'hue')
|
||||
.css({textAlign: 'right'})
|
||||
.html(Ox.formatNumber(value, 1) + '%')
|
||||
)
|
||||
.append(Ox.Theme.formatColorPercent(value, 1, true))
|
||||
.appendTo($statistics);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue