Skip to content

Commit ba34f5e

Browse files
authored
Merge pull request #812 from Ghost-017/patch-2
grammer fixes
2 parents 6a02381 + 4d1bd71 commit ba34f5e

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
@@ -108,7 +108,7 @@ Sometimes `event.stopPropagation()` creates hidden pitfalls that later may becom
108108
109109
For instance:
110110
111-
1. We create a nested menu. Each submenu handles clicks on its elements and calls `stopPropagation` so that outer menu don't trigger.
111+
1. We create a nested menu. Each submenu handles clicks on its elements and calls `stopPropagation` so that the outer menu won't trigger.
112112
2. Later we decide to catch clicks on the whole window, to track users' behavior (where people click). Some analytic systems do that. Usually the code uses `document.addEventListener('click'…)` to catch all clicks.
113113
3. Our analytic won't work over the area where clicks are stopped by `stopPropagation`. We've got a "dead zone".
114114

0 commit comments

Comments
 (0)