Merge pull request #468 from Adeel-Charolia/patch-3

Typo in "Bubbling and Capturing" Article
This commit is contained in:
Ilya Kantor 2017-03-25 09:33:47 +03:00 committed by GitHub
commit a8c678b73e

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 phase, the first listener), and then:
2. `P` -> `DIV` -> `FORM` -> `BODY` -> `HTML` (bubbling phase, the second listener).