Browse Source
`click` is when we know if we should use the recorded data or discard it, but `click` fires after `touchend`. So to avoid stopping the recording and registering `ondataavailable` afterwards, register a promise on `ondataavailable`, and gather the data if needed in `click`.master
Sébastien Lerique
9 years ago
committed by
Jovan Gerodetti
1 changed files with 7 additions and 2 deletions
Loading…
Reference in new issue