javascript-tutorial / en.javascript.info

Modern JavaScript Tutorial
https://javascript.info
Other
23.61k stars 3.88k forks source link

Question about the sample code. #519

Closed BriFuture closed 6 years ago

BriFuture commented 6 years ago

file: https://github.com/iliakan/javascript-tutorial-en/blob/master/2-ui/3-event-details/3-mousemove-mouseover-mouseout-mouseenter-mouseleave/2-hoverintent/task.md

image

At the line below the statement new HoverIntent, should the elem here be replaced with tooltip?

BriFuture commented 6 years ago

Sorry, I found that the clock's id is elem, so there is no error in the sample code.