Skip to content

Commit 7b59734

Browse files
committed
typo
1 parent a701341 commit 7b59734

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2-ui/2-events/02-bubbling-and-capturing/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ The code sets click handlers on *every* element in the document to see which one
181181
If you click on `<p>`, then the sequence is:
182182

183183
1. `HTML` -> `BODY` -> `FORM` -> `DIV` (capturing phase, the first listener):
184-
2. `P` (target phrase, triggers two times, as we've set two listeners: capturing and bubbling)
184+
2. `P` (target phase, triggers two times, as we've set two listeners: capturing and bubbling)
185185
3. `DIV` -> `FORM` -> `BODY` -> `HTML` (bubbling phase, the second listener).
186186

187187
There's a property `event.eventPhase` that tells us the number of the phase on which the event was caught. But it's rarely used, because we usually know it in the handler.

0 commit comments

Comments
 (0)