mirror of
https://github.com/thelounge/thelounge
synced 2024-11-10 22:54:15 +00:00
Fix active class not being removed when switching channels
This commit is contained in:
parent
6c7ddd0f47
commit
7724762c14
1 changed files with 3 additions and 1 deletions
|
@ -372,7 +372,9 @@ $(function() {
|
|||
sidebarSlide.toggle(false);
|
||||
}
|
||||
|
||||
const lastActive = $("#windows > .active")
|
||||
const lastActive = $("#windows > .active");
|
||||
|
||||
lastActive
|
||||
.removeClass("active")
|
||||
.find(".chat")
|
||||
.unsticky();
|
||||
|
|
Loading…
Reference in a new issue