diff --git a/www/file/main.js b/www/file/main.js index a8e7da517..ffb143b73 100644 --- a/www/file/main.js +++ b/www/file/main.js @@ -71,7 +71,7 @@ define([ console.log("encrypted blob is now available as %s", uri); var b64Key = Nacl.util.encodeBase64(key); - window.location.hash = Cryptpad.getFileHashFromKeys(id, ib64key); + window.location.hash = Cryptpad.getFileHashFromKeys(id, b64key); $form.hide(); diff --git a/www/slide/main.js b/www/slide/main.js index ad80f03d7..b5dd26704 100644 --- a/www/slide/main.js +++ b/www/slide/main.js @@ -303,7 +303,7 @@ define([ editor.save(); }, $toolbar: $bar - } + }; var $hist = Cryptpad.createButton('history', true, {histConfig: histConfig}); $rightside.append($hist);