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) { socket.on("open", function(id) {
// Another client opened the channel, clear the unread counter // Another client opened the channel, clear the unread counter
sidebar.find("[data-id='" + id + "'] .badge") sidebar.find(".chan[data-id='" + id + "'] .badge")
.removeClass("highlight") .removeClass("highlight")
.empty(); .empty();
}); });