Skip to content

Commit 1f8f0ea

Browse files
committed
Fix typo in Chapter 15
1 parent dac326c commit 1f8f0ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

15_event.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ approach is called _((polling))_. Most programmers prefer to avoid it.
4040
{{index "callback function", "event handling"}}
4141

4242
A better mechanism is for the system to actively notify our code when
43-
an events occurs. Browsers do this by allowing us to register
44-
functions as _handlers_ for specific events.
43+
an event occurs. Browsers do this by allowing us to register functions
44+
as _handlers_ for specific events.
4545

4646
```{lang: "text/html"}
4747
<p>Click this document to activate the handler.</p>

0 commit comments

Comments
 (0)