Skip to content

Commit 768fea2

Browse files
committed
fix nom run check extra parens error:
69:14 error Gratuitous parentheses around expression no-extra-parens 70:15 error Gratuitous parentheses around expression no-extra-parens
1 parent dcc151c commit 768fea2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/minicharts/d3-tip.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@
6666
}
6767
coords = direction_callbacks.get(dir).apply(this);
6868
nodel.classed(dir, true).style({
69-
top: (coords.top + poffset[0]) + scrollTop + 'px',
70-
left: (coords.left + poffset[1]) + scrollLeft + 'px'
69+
top: (coords.top + poffset[0] + scrollTop).toString() + 'px',
70+
left: (coords.left + poffset[1] + scrollLeft).toString() + 'px'
7171
});
7272

7373
return tip;

0 commit comments

Comments
 (0)