diff options
-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); |