From 0dfa6152ab31f1901df6267ff2431574ec0599fc Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Tue, 6 Jan 2015 15:54:33 +0000 Subject: [PATCH] Fix updating avatar menu element when new message is coming --- js/script.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/js/script.js b/js/script.js index e245428..9e65db0 100644 --- a/js/script.js +++ b/js/script.js @@ -88,9 +88,8 @@ var checkNewMessages = function() { } if ($.inArray(peerLabel, bufferedContacts) == -1) { - $("div[mailbox-avatar='" + peerLabel + "']").remove(); - $("a[mailbox-label='" + peerLabel + "']").remove(); - peerListBuf = '