diff --git a/src/elements/emby-slider/emby-slider.js b/src/elements/emby-slider/emby-slider.js index 771c81fc9f0..8c572f64740 100644 --- a/src/elements/emby-slider/emby-slider.js +++ b/src/elements/emby-slider/emby-slider.js @@ -239,7 +239,7 @@ function setMarker(range, valueMarker, marker, valueProgress) { return; } - marker.style.left = 'calc(' + valueMarker + '% - ' + markerRect.width / 2 + 'px)'; + marker.style.left = `calc(${valueMarker}% - ${markerRect.width / 2}px)`; if (valueProgress >= valueMarker) { marker.classList.remove('unwatched');