Merge pull request #1024 from friday/event-bubble-detail

Event "detail" is lost in the synthetic event bubble/proxy
This commit is contained in:
Sam Potts 2018-06-11 16:13:02 +10:00 committed by GitHub
commit 1ad76800b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -414,7 +414,7 @@ class Listeners {
'keyup',
'keydown',
]).join(' '), event => {
let detail = {};
let {detail = {}} = event;
// Get error details from media
if (event.type === 'error') {