Fix incorrect selector for undead badge on channels
This commit is contained in:
parent
5ff1496061
commit
ee1a629be9
@ -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();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user