diff --git a/js/generate_keys.js b/js/key_worker.js similarity index 97% rename from js/generate_keys.js rename to js/key_worker.js index 3928a847f524..76f8cc554f15 100644 --- a/js/generate_keys.js +++ b/js/key_worker.js @@ -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': diff --git a/js/options.js b/js/options.js index 9bf4b074f515..7d68f945246d 100644 --- a/js/options.js +++ b/js/options.js @@ -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),