diff options
author | Alex Yatskov <alex@foosoft.net> | 2016-09-15 20:16:23 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2016-09-15 20:16:23 -0700 |
commit | b87611cfddf5ca0e1529b88ed1610ebe0d4657e6 (patch) | |
tree | e6655b8b53482a81d5e91afdfbea296cde538497 /ext/fg/js | |
parent | 7069f428eee7134416bb72ea4f7a7ec3e214a465 (diff) |
Bugfixes
Diffstat (limited to 'ext/fg/js')
-rw-r--r-- | ext/fg/js/frame.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fg/js/frame.js b/ext/fg/js/frame.js index d06e8b94..590646d5 100644 --- a/ext/fg/js/frame.js +++ b/ext/fg/js/frame.js @@ -68,7 +68,7 @@ document.addEventListener('DOMContentLoaded', () => { registerAudioLinks(); }); -window.addEventListener('message', () => { +window.addEventListener('message', e => { const {action, params} = e.data, method = window['api_' + action]; if (typeof(method) === 'function') { method(params); |