Skip to content

Commit 0b55d45

Browse files
authored
Update article.md
1 parent 64197a0 commit 0b55d45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

2-ui/2-events/05-dispatch-events/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ We can call `event.preventDefault()` on a script-generated event if `cancelable:
166166

167167
Of course, for custom events, with names unknown for the browser, there are no "default browser actions". But our code may plan its own actions after `dispatchEvent`.
168168

169-
The call of `event.preventDefault()` is a way for the handler to send a signal that those actions should be canceled .
169+
The call of `event.preventDefault()` is a way for the handler to send a signal that those actions should be canceled.
170170

171171
In that case the call to `elem.dispatchEvent(event)` returns `false`. And the event-generating code knows that the processing shouldn't continue.
172172

0 commit comments

Comments
 (0)