-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Click event handler is now removed correctly. #27
`.bind()` is not identical when used more than once. This means `removeEventListener` will not remove the event. Instead a common 'bound' variable needs to be created to handle both the add and remove listener calls.
- Loading branch information
Thomas Erbe
committed
Jul 27, 2018
1 parent
816254a
commit 0a4250e
Showing
1 changed file
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters