Fix background gray count conditional

merge-requests/1/head
Mike Koch 8 years ago
parent 7155e18903
commit 7f07e73192

@ -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) {

Loading…
Cancel
Save