From 55d1a2f671ce17c0379e3f96ac20ae0cfb88ff0b Mon Sep 17 00:00:00 2001 From: Manuel Araoz Date: Thu, 8 May 2014 16:31:08 -0300 Subject: [PATCH] fix avatar directive bug --- index.html | 2 ++ js/directives.js | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index b4160f35a..8dd57c46d 100644 --- a/index.html +++ b/index.html @@ -126,10 +126,12 @@ {{c.nick}} diff --git a/js/directives.js b/js/directives.js index bbda156d6..78124f461 100644 --- a/js/directives.js +++ b/js/directives.js @@ -95,9 +95,8 @@ angular.module('copay.directives') var peer = JSON.parse(attrs.peer) var peerId = peer.peerId; var nick = peer.nick; - element.addClass(($rootScope.wallet.getOnlinePeerIDs().indexOf(peerId) != -1) ? 'online' : 'offline'); element.addClass('video-small'); - element.attr('title', peerId + (peerId == $rootScope.wallet.network.peerId?' (You)':'')); + element.attr('title', peerId + (peerId == $rootScope.wallet.network.peerId ? ' (You)' : '')); var muted = $rootScope.getVideoMutedStatus(peerId); if (muted) { element.attr("muted", true);