diff --git a/src/ts/components/seekbarlabel.ts b/src/ts/components/seekbarlabel.ts index 1630e5cf5..b0aea018b 100644 --- a/src/ts/components/seekbarlabel.ts +++ b/src/ts/components/seekbarlabel.ts @@ -137,9 +137,7 @@ export class SeekBarLabel extends Container { }; public setPositionInBounds(seekPositionPx: number, bounds: DOMRect) { - this.getDomElement().css({ - 'left': seekPositionPx + 'px', - }); + this.getDomElement().css('left', seekPositionPx + 'px'); // Check parent container as it has a padding that needs to be considered const labelBounding = this.container.getDomElement().get(0).parentElement.getBoundingClientRect();