Merge pull request #2078 from thelounge/xpaw/fix-master-after-no-var
Fix active class not being removed when switching channels
This commit is contained in:
commit
95abf830cd
@ -372,7 +372,9 @@ $(function() {
|
|||||||
sidebarSlide.toggle(false);
|
sidebarSlide.toggle(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
const lastActive = $("#windows > .active")
|
const lastActive = $("#windows > .active");
|
||||||
|
|
||||||
|
lastActive
|
||||||
.removeClass("active")
|
.removeClass("active")
|
||||||
.find(".chat")
|
.find(".chat")
|
||||||
.unsticky();
|
.unsticky();
|
||||||
|
Loading…
Reference in New Issue
Block a user