Undoing the change that broke the firefox. onmessage is not a local variable, it's a global one.
This commit is contained in:
parent
cd19802f46
commit
f2e1dfee50
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ function initSender() {
|
||||||
var main;
|
var main;
|
||||||
var sender;
|
var sender;
|
||||||
|
|
||||||
var onmessage = function(e) {
|
onmessage = function(e) {
|
||||||
var msg = e.data;
|
var msg = e.data;
|
||||||
if (msg.command) {
|
if (msg.command) {
|
||||||
main[msg.command].apply(main, msg.args);
|
main[msg.command].apply(main, msg.args);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue