From ac989a1e7399efb45456450fcb029437a6a7f729 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 11 Sep 2018 16:48:44 +0200 Subject: [PATCH] lint compliance --- www/common/common-messenger.js | 4 ++-- www/contacts/messenger-ui.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/www/common/common-messenger.js b/www/common/common-messenger.js index fe6a75338..99d9d3e6a 100644 --- a/www/common/common-messenger.js +++ b/www/common/common-messenger.js @@ -545,13 +545,13 @@ define([ // We need to use GET_HISTORY_RANGE to make sure we won't get the full history var txid = Util.uid(); initRangeRequest(txid, chan.id, undefined); - var msg = ['GET_HISTORY_RANGE', chan.id, { + var msg0 = ['GET_HISTORY_RANGE', chan.id, { //from: hash, count: 10, txid: txid, } ]; - network.sendto(network.historyKeeper, JSON.stringify(msg)).then(function () { + network.sendto(network.historyKeeper, JSON.stringify(msg0)).then(function () { }, function (err) { throw new Error(err); }); diff --git a/www/contacts/messenger-ui.js b/www/contacts/messenger-ui.js index 809485621..3b4e67008 100644 --- a/www/contacts/messenger-ui.js +++ b/www/contacts/messenger-ui.js @@ -701,7 +701,7 @@ define([ $lAvatar.find('.cp-avatar-default, media-tag').remove(); var $div = $('
'); - common.displayAvatar($div, null, name, function ($img) { + common.displayAvatar($div, null, name, function () { $mAvatar.html($div.html()); $lAvatar.find('.cp-app-contacts-right-col').before($div.html()); });