forked from pixedelic/Camera
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pause / Start button click events were bound to document instead of actual button due to on() selector containing selector and context. This cause BOTH pause / start event functions being called at once. Not sure if we can use a context anymore or the proper way to use context in this sense ( when using document delegation ). This might not be the best solution but it works now. My first edit / pull on git so hope I am doing this properly :)
- Loading branch information
Showing
1 changed file
with
13 additions
and
7 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