Skip to content

Commit bec0f45

Browse files
authored
Merge pull request #346 from ryo-manba/ryo-manba-patch-1
Fix typo
2 parents d6b3e37 + 4a87ba1 commit bec0f45

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
@@ -178,7 +178,7 @@ elem.addEventListener(..., true)
178178

179179
どのハンドラが動作するかを見るために、ドキュメント上の *すべての* 要素にクリックハンドラを設定しています。
180180

181-
`<p>` をクリックするしたときの処理の流れは次の通りです:
181+
`<p>` をクリックしたときの処理の流れは次の通りです:
182182

183183
1. `HTML` -> `BODY` -> `FORM` -> `DIV` (キャプチャリングフェーズ, 1つ目のリスナーです):
184184
2. `P` (ターゲットフェーズ, キャプチャリングとバブリング2つのリスナをセットしているので、2度実行されます)

0 commit comments

Comments
 (0)