Typo in "Bubbling and Capturing" Article

This commit is contained in:
Adeel-Charolia 2017-03-25 10:43:17 +05:00 committed by GitHub
parent 0fcf9f84fa
commit 59223f77f8

View file

@ -173,7 +173,7 @@ Let's see it in action:
The code sets click handlers on *every* element in the document to see which ones are working.
If you click on `<td>`, then the sequence is:
If you click on `<p>`, then the sequence is:
1. `HTML` -> `BODY` -> `FORM` -> `DIV` -> `P` (capturing phrase, the first listener), and then:
2. `P` -> `DIV` -> `FORM` -> `BODY` -> `HTML` (bubbling phrase, the second listener).