update cbr icon info color

This commit is contained in:
rlx 2016-01-16 14:23:44 +05:30
parent 2fd3e105d2
commit b0dcfc35ab

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]]