mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-18 20:38:10 +00:00
Changing this
to self
in emscripten post
This commit is contained in:
parent
fa82ba6d3f
commit
8b47323c05
@ -98,7 +98,7 @@ function processMessage(event) {
|
||||
data['version'],
|
||||
!!data['segwit']
|
||||
);
|
||||
postMessage({
|
||||
self.postMessage({
|
||||
'addresses': addresses,
|
||||
'firstIndex': data['firstIndex'],
|
||||
'lastIndex': data['lastIndex']
|
||||
@ -111,5 +111,5 @@ function processMessage(event) {
|
||||
}
|
||||
|
||||
if (ENVIRONMENT_IS_WORKER) {
|
||||
this['onmessage'] = processMessage;
|
||||
self.onmessage = processMessage;
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user