From 7f07e73192c15f0565bcb59c6cee0b55af9379dc Mon Sep 17 00:00:00 2001 From: Mike Koch Date: Wed, 16 Mar 2016 03:16:21 +0000 Subject: [PATCH] Fix background gray count conditional --- js/modsForHesk-javascript.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/modsForHesk-javascript.js b/js/modsForHesk-javascript.js index cab0b88f..cac48bc7 100644 --- a/js/modsForHesk-javascript.js +++ b/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) {