Bugfixes
This commit is contained in:
parent
7069f428ee
commit
b87611cfdd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user