diff --git a/wled00/data/index.js b/wled00/data/index.js index 22b14a73..793ac1d4 100644 --- a/wled00/data/index.js +++ b/wled00/data/index.js @@ -1361,7 +1361,7 @@ function updateTrail(e) { if (e==null) return; let sd = e.parentNode.getElementsByClassName('sliderdisplay')[0]; - if (sd && getComputedStyle(sd).getPropertyValue("--bg") !== "none") { + if (sd && getComputedStyle(sd).getPropertyValue("--bg").trim() !== "none") { // trim() for Safari var max = e.hasAttribute('max') ? e.attributes.max.value : 255; var perc = Math.round(e.value * 100 / max); if (perc < 50) perc += 2;