Skip to content

Commit c2342c1

Browse files
committed
minor fixes
1 parent bbb50e7 commit c2342c1

File tree

1 file changed

+1
-1
lines changed
  • 2-ui/2-events/01-introduction-browser-events

1 file changed

+1
-1
lines changed

2-ui/2-events/01-introduction-browser-events/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ input.onclick = function() { alert(1); }
207207
input.onclick = function() { alert(2); } // replaces the previous handler
208208
```
209209

210-
Developers of web standards understood that long ago and suggested an alternative way of managing handlers using the special methods `addEventListener` and `removeEventListener` which do not have the same constraints as event handlers.
210+
Developers of web standards understood that long ago and suggested an alternative way of managing handlers using the special methods `addEventListener` and `removeEventListener` which aren't bound by such constraint.
211211

212212
The syntax to add a handler:
213213

0 commit comments

Comments
 (0)