update cbr icon info color

This commit is contained in:
rlx 2016-01-16 14:23:44 +05:30
parent 2fd3e105d2
commit b0dcfc35ab
1 changed files with 2 additions and 1 deletions

View File

@ -762,7 +762,8 @@ oml.getFilterSizes = function() {
oml.getIconInfoColor = function(type, data) {
return type == 'extension' ? (
data.extension == 'epub' ? [[32, 160, 32], [0, 128, 0], [128, 255, 128]]
data.extension == 'cbr' ? [[224, 224, 32], [192, 192, 0], [255, 255, 192]]
: data.extension == 'epub' ? [[32, 160, 32], [0, 128, 0], [128, 255, 128]]
: data.extension == 'pdf' ? (
data.textsize
? [[224, 32, 32], [192, 0, 0], [255, 192, 192]]