Skip to content

Commit 10bbb57

Browse files
committed
Remove concats in favor of literals
1 parent 7b7ab67 commit 10bbb57

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modules/tooltip/Tooltip.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -581,8 +581,8 @@ export default class Tooltip {
581581
x = markerXY.x
582582
y = markerXY.y
583583

584-
tooltipEl.style.left = x + 'px'
585-
tooltipEl.style.top = y + 'px'
584+
tooltipEl.style.left = `${x}px`
585+
tooltipEl.style.top = `${y}px`
586586
} else {
587587
if (this.tooltipUtil.hasBars()) {
588588
this.intersect.handleBarTooltip({

0 commit comments

Comments
 (0)