mirror of
https://github.com/thelounge/thelounge
synced 2025-02-17 05:38:25 +00:00
Fix incorrect selector for undead badge on channels
This commit is contained in:
parent
5ff1496061
commit
ee1a629be9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue