From 2b4c615cd4e94acb943bffad540e4d6249ad1ac3 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 3 Sep 2019 17:06:29 +0200 Subject: [PATCH] lint compliance --- www/common/common-ui-elements.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index ac855f5c5..bdfa56d7d 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -133,7 +133,7 @@ define([ }; }); var msg = pending ? Messages.owner_removePendingText - : Messages.owner_removeText + : Messages.owner_removeText; var removeCol = UIElements.getFriendsList(msg, { common: common, friends: _owners, @@ -256,8 +256,8 @@ define([ $(addButton).click(function () { // Check selection var $sel = $div2.find('.cp-share-friend.cp-selected'); - if (!sel.length) { return; } var sel = $sel.toArray(); + if (!sel.length) { return; } var toAdd = sel.map(function (el) { return friends[$(el).attr('data-curve')].edPublic; }).filter(function (x) { return x; });