From 346c289204d1f2612764ed2589cf95bd6dbeab4a Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 22 May 2017 14:39:58 +0200 Subject: [PATCH] Fix lint errors --- www/file/main.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/www/file/main.js b/www/file/main.js index 7ceb40885..36f3aea7d 100644 --- a/www/file/main.js +++ b/www/file/main.js @@ -23,7 +23,6 @@ define([ var $form = $iframe.find('#upload-form'); var $dlform = $iframe.find('#download-form'); var $label = $form.find('label'); - var $dllabel = $dlform.find('label'); var $table = $iframe.find('#status'); var $progress = $iframe.find('#progress'); @@ -252,7 +251,7 @@ define([ if (!uploadMode) { $dlform.show(); Cryptpad.removeLoadingScreen(); - $dlform.find('#dl').click(function (e) { + $dlform.find('#dl').click(function () { if (myFile) { return void exportFile(); } var src = Cryptpad.getBlobPathFromHex(hexFileName); @@ -268,7 +267,7 @@ define([ return void Cryptpad.errorLoadingScreen(e); } - return console.error(FileCrypto.decryptMetadata(u8, key)); +// return console.error(FileCrypto.decryptMetadata(u8, key)); FileCrypto.decrypt(u8, key, function (e, data) { if (e) { return console.error(e);