Skip to content
Snippets Groups Projects
Commit 0765fdf5 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Hide the mobile menu when a menu item gets clicked

In the common case of the user just targeting an activity and not
browsing the menu the user wants the menu to be gone right away.
parent 9fbff428
No related branches found
No related tags found
No related merge requests found
......@@ -306,6 +306,7 @@ export class AppShell extends ScopedElementsMixin(LitElement) {
const link = e.composedPath()[0];
const location = link.getAttribute('href');
this.router.updateFromPathname(location);
this.toggleMenu();
}
onLanguageChanged(e) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment