Fix incorrect selector for undead badge on channels

This commit is contained in:
stepie22 2016-10-25 13:58:28 +02:00
parent 5ff1496061
commit ee1a629be9

View file

@ -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();
});