Rename worker script file
This commit is contained in:
parent
de65f9e6bd
commit
00989962d8
2 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@
|
|||
*
|
||||
* Example usage:
|
||||
*
|
||||
var myWorker = new Worker('/js/generate_keys.js');
|
||||
var myWorker = new Worker('/js/key_worker.js');
|
||||
myWorker.onmessage = function(e) {
|
||||
switch(e.data.method) {
|
||||
case 'set':
|
|
@ -73,7 +73,7 @@
|
|||
window.textsecure.registerSecondDevice(provisionMessage).then(function() {
|
||||
$('.progress-dialog .status').text('Generating keys...');
|
||||
var counter = 0;
|
||||
var myWorker = new Worker('/js/generate_keys.js');
|
||||
var myWorker = new Worker('/js/key_worker.js');
|
||||
myWorker.postMessage({
|
||||
maxPreKeyId: textsecure.storage.get("maxPreKeyId", 0),
|
||||
signedKeyId: textsecure.storage.get("signedKeyId", 0),
|
||||
|
|
Loading…
Reference in a new issue