Fix background gray count conditional

This commit is contained in:
Mike Koch 2016-03-16 03:16:21 +00:00
parent 7155e18903
commit 7f07e73192

View File

@ -54,7 +54,8 @@ var loadJquery = function()
$this = $(this);
var background = $this.css('background-color');
if (background !== 'rgba(0, 0, 0, 0)') {
if (background !== 'rgba(0, 0, 0, 0)'
&& background !== 'transparent') {
var grayCount = calculateGrayCount(background);
if (grayCount > 186) {