Bugfixes
This commit is contained in:
parent
7069f428ee
commit
b87611cfdd
@ -68,7 +68,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
|||||||
registerAudioLinks();
|
registerAudioLinks();
|
||||||
});
|
});
|
||||||
|
|
||||||
window.addEventListener('message', () => {
|
window.addEventListener('message', e => {
|
||||||
const {action, params} = e.data, method = window['api_' + action];
|
const {action, params} = e.data, method = window['api_' + action];
|
||||||
if (typeof(method) === 'function') {
|
if (typeof(method) === 'function') {
|
||||||
method(params);
|
method(params);
|
||||||
|
Loading…
Reference in New Issue
Block a user