Thanks for a great tutorial!
This commit is contained in:
Peter Kampjes 2020-07-25 07:06:33 -03:00 committed by GitHub
parent 8e1f438a5b
commit dc0d9158b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -236,7 +236,7 @@ element.removeEventListener(event, handler, [options]);
````warn header="Removal requires the same function"
To remove a handler we should pass exactly the same function as was assigned.
That doesn't work:
This doesn't work:
```js no-beautify
elem.addEventListener( "click" , () => alert('Thanks!'));