Browse Source

Fix background gray count conditional

merge-requests/1/head
Mike Koch 6 years ago
parent
commit
7f07e73192
  1. 3
      js/modsForHesk-javascript.js

3
js/modsForHesk-javascript.js

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