1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 12:28:09 +00:00

Changing this to self in emscripten post

This commit is contained in:
Karel Bilek 2017-05-04 02:34:41 +02:00 committed by Pavol Rusnak
parent fa82ba6d3f
commit 8b47323c05
2 changed files with 4 additions and 4 deletions

View File

@ -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