From 24e22c4c4fdb5f38c7042f3bfaa1aab3601429fa Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 23 Mar 2021 11:08:32 +0100 Subject: [PATCH] lint compliance --- www/common/common-ui-elements.js | 2 +- www/common/sframe-common-outer.js | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index a02accadf..f236147b8 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -2537,6 +2537,7 @@ define([ $creation.focus(); }; + var autoStoreModal = {}; UIElements.onServerError = function (common, err, toolbar, cb) { //if (["EDELETED", "EEXPIRED", "ERESTRICTED"].indexOf(err.type) === -1) { return; } var priv = common.getMetadataMgr().getPrivateData(); @@ -2740,7 +2741,6 @@ define([ }; var storePopupState = false; - var autoStoreModal = {}; UIElements.displayStorePadPopup = function (common, data) { if (storePopupState) { return; } storePopupState = true; diff --git a/www/common/sframe-common-outer.js b/www/common/sframe-common-outer.js index 131958d83..61588b9aa 100644 --- a/www/common/sframe-common-outer.js +++ b/www/common/sframe-common-outer.js @@ -1687,8 +1687,6 @@ define([ sframeChan.on('Q_PASSWORD_CHECK', function (pw, cb) { Cryptpad.isNewChannel(currentPad.href, pw, function (e, isNew) { if (isNew === false) { - var channel = Utils.Hash.hrefToHexChannelId(currentPad.href, pw); - nThen(function (w) { // If the pad is stored, update its data var _secret = Utils.Hash.getSecrets(parsed.type, parsed.hash, pw);