mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-11 18:22:21 +02:00
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) {
|
||||
// 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();
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue