minor
This commit is contained in:
parent
235a2ed197
commit
f84bd8d274
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ parent.onmouseover = function(event) {
|
|||
};
|
||||
```
|
||||
|
||||
If we don't examine `event.target` inside the handlers, then it may seem that the mouse left `parent` element, and then came back over it. But it's not the case! The mouse never left, it just moved to the child element.
|
||||
If we don't examine `event.target` inside the handlers, then it may seem that the mouse pointer left `parent` element, and then came back over it. But it's not the case! The mouse never left, it just moved to the child element.
|
||||
|
||||
If there's some action upon leaving the element, e.g. animation runs, then such interpretation may bring unwanted side effects.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue