Skip to content

Commit 4d1bd71

Browse files
authored
grammer fixes
- add a definite article before 'outer menu' on line 111 - don't -> won't
1 parent 1b2d3e8 commit 4d1bd71

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)