summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2016-09-15 20:16:23 -0700
committerAlex Yatskov <alex@foosoft.net>2016-09-15 20:16:23 -0700
commitb87611cfddf5ca0e1529b88ed1610ebe0d4657e6 (patch)
treee6655b8b53482a81d5e91afdfbea296cde538497
parent7069f428eee7134416bb72ea4f7a7ec3e214a465 (diff)
Bugfixes
-rw-r--r--ext/fg/js/frame.js2
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);