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); sidebarSlide.toggle(false);
} }
const lastActive = $("#windows > .active") const lastActive = $("#windows > .active");
lastActive
.removeClass("active") .removeClass("active")
.find(".chat") .find(".chat")
.unsticky(); .unsticky();