Skip to content

Commit

Permalink
fix: remove unneeded line
Browse files Browse the repository at this point in the history
  • Loading branch information
atomiks committed Nov 4, 2021
1 parent 731be20 commit b440f9d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/createTippy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,12 @@ export default function createTippy(
}
});

popper.addEventListener('mouseleave', (event) => {
popper.addEventListener('mouseleave', () => {
if (
instance.props.interactive &&
instance.props.trigger.indexOf('mouseenter') >= 0
) {
getDocument().addEventListener('mousemove', debouncedOnMouseMove);
debouncedOnMouseMove(event);
}
});

Expand Down

0 comments on commit b440f9d

Please sign in to comment.