Fix background gray count conditional
This commit is contained in:
parent
7155e18903
commit
7f07e73192
@ -54,7 +54,8 @@ var loadJquery = function()
|
|||||||
$this = $(this);
|
$this = $(this);
|
||||||
var background = $this.css('background-color');
|
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);
|
var grayCount = calculateGrayCount(background);
|
||||||
|
|
||||||
if (grayCount > 186) {
|
if (grayCount > 186) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user