Clean up linter errors

pull/10616/head
Jared Scheib 2017-05-19 17:05:52 -07:00
parent 78cb488fa9
commit cd83b7217a
1 changed files with 2 additions and 2 deletions

View File

@ -100,12 +100,12 @@ export default class Dygraph extends Component {
strokeWidth: 2,
highlightCircleSize: 5,
},
unhighlightCallback: e => {
unhighlightCallback: () => {
legendContainerNode.className = 'container--dygraph-legend hidden' // hide
// this.isMouseOverGraph = false
},
highlightCallback: (e, x, points, row, seriesName) => {
highlightCallback: e => {
// Move the Legend on hover
const graphRect = graphContainerNode.getBoundingClientRect()
const legendRect = legendContainerNode.getBoundingClientRect()