Rename worker script file

This commit is contained in:
lilia 2015-04-15 14:42:01 -07:00
parent de65f9e6bd
commit 00989962d8
2 changed files with 2 additions and 2 deletions

View file

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

View file

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