Fix active class not being removed when switching channels

This commit is contained in:
Pavel Djundik 2018-02-19 21:05:05 +02:00
parent 6c7ddd0f47
commit 7724762c14

View file

@ -372,7 +372,9 @@ $(function() {
sidebarSlide.toggle(false);
}
const lastActive = $("#windows > .active")
const lastActive = $("#windows > .active");
lastActive
.removeClass("active")
.find(".chat")
.unsticky();