From ee1a629be9a7704c1ee7c5d9a9d086987be2c325 Mon Sep 17 00:00:00 2001 From: stepie22 Date: Tue, 25 Oct 2016 13:58:28 +0200 Subject: [PATCH] Fix incorrect selector for undead badge on channels --- client/js/lounge.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/js/lounge.js b/client/js/lounge.js index df949240..1af88900 100644 --- a/client/js/lounge.js +++ b/client/js/lounge.js @@ -186,7 +186,7 @@ $(function() { socket.on("open", function(id) { // Another client opened the channel, clear the unread counter - sidebar.find("[data-id='" + id + "'] .badge") + sidebar.find(".chan[data-id='" + id + "'] .badge") .removeClass("highlight") .empty(); });