Fix typos on Event Handlers page (#1102)

* Fix typo on Event Handlers page

* Fix 2nd typo on Event Handlers page
This commit is contained in:
Jon Earnshaw 2023-06-19 14:49:43 +01:00 committed by GitHub
parent 96802c27ef
commit d596967b40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ To learn what the different event types for HTML provide, read the [events modul
Some events will trigger first on the element the event originated at upward. For example, a click event on a `button` inside a `div` would first trigger the button's event listener and then the div's event listener.
> For more information about event propigation see [the mdn docs on event bubling](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Building_blocks/Events#event_bubbling)
> For more information about event propagation see [the mdn docs on event bubbling](https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Building_blocks/Events#event_bubbling)
If you want to prevent this behavior, you can call `stop_propagation()` on the event: