From c76363e76525fbf131722a6704c19b0e0c3e0320 Mon Sep 17 00:00:00 2001 From: yflory Date: Fri, 30 Aug 2019 16:43:18 +0200 Subject: [PATCH] lint compliance --- www/common/common-ui-elements.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 21e157394..d3afa3012 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -252,7 +252,7 @@ define([ return friends[$(el).attr('data-curve')].edPublic; }).filter(function (x) { return x; }); - nThen(function (waitFor) { + NThen(function (waitFor) { var msg = "Are you sure?"; // XXX UI.confirm(msg, waitFor(function (yes) { if (!yes) { @@ -276,7 +276,7 @@ define([ })); }).nThen(function (waitFor) { // TODO send notifications - sel.forEach(function () { + sel.forEach(function (el) { var friend = friends[$(el).attr('data-curve')]; if (!friend) { return; } common.mailbox.sendTo("ADD_OWNER", { @@ -3291,7 +3291,7 @@ define([ var todo = function (yes) { if (yes) { sframeChan.query('Q_SET_PAD_METADATA', { - channel: channel, + channel: data.content.channel, command: 'ADD_OWNERS', value: [priv.edPublic] }, function (err, res) {