mirror of
https://github.com/thelounge/thelounge.git
synced 2024-05-20 23:26:36 +02:00
Close sidebar when opening settings, help etc.
This commit is contained in:
parent
7fd48d8155
commit
addd4124bf
|
@ -108,6 +108,10 @@ window.vueMounted = () => {
|
|||
} else {
|
||||
vueApp.activeChannel = null;
|
||||
vueApp.$store.commit("activeWindow", target);
|
||||
|
||||
if (!keepSidebarOpen && $(window).outerWidth() <= utils.mobileViewportPixels) {
|
||||
vueApp.setSidebar(false);
|
||||
}
|
||||
}
|
||||
|
||||
utils.synchronizeNotifiedState();
|
||||
|
|
Loading…
Reference in a new issue