From 27502c61b15af9479440782b90af1b5c261b34d0 Mon Sep 17 00:00:00 2001 From: ClemDee Date: Tue, 30 Jul 2019 17:25:38 +0200 Subject: [PATCH] Fix lint issues --- www/common/proxy-manager.js | 4 ++-- www/common/userObject.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/www/common/proxy-manager.js b/www/common/proxy-manager.js index 7b79bcb14..f75fd0aa7 100644 --- a/www/common/proxy-manager.js +++ b/www/common/proxy-manager.js @@ -501,7 +501,7 @@ define([ newPath: newPath, copy: false, }, waitFor()); - }).nThen(function (waitFor) { + }).nThen(function () { // migrate metadata var metadata = Env.user.userObject.getFolderData(folderElement); for (var key in metadata) { @@ -515,7 +515,7 @@ define([ // call callback cb(); }); - } + }; // Delete permanently some pads or folders var _delete = function (Env, data, cb) { diff --git a/www/common/userObject.js b/www/common/userObject.js index 9bf3487d6..109928e81 100644 --- a/www/common/userObject.js +++ b/www/common/userObject.js @@ -170,7 +170,7 @@ define([ } } return false; - } + }; // Get data from AllFiles (Cryptpad_RECENTPADS) var getFileData = exp.getFileData = function (file) {