Skip to content

Commit db87b69

Browse files
author
Waley Chen
committed
Merge pull request #180 from 10gen/fix-master-npm-run-check
fix npm run check extra parens error:
2 parents dcc151c + 768fea2 commit db87b69

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)