Fix hash navigation for sidebar footer buttons.
This commit is contained in:
parent
addd4124bf
commit
b994ecd1f1
@ -25,7 +25,8 @@
|
||||
aria-label="Sign in"
|
||||
><button
|
||||
class="icon sign-in"
|
||||
data-target="SignIn"
|
||||
data-target="#sign-in"
|
||||
data-component="SignIn"
|
||||
aria-label="Sign in"
|
||||
role="tab"
|
||||
aria-controls="sign-in"
|
||||
@ -36,7 +37,8 @@
|
||||
aria-label="Connect to network"
|
||||
><button
|
||||
class="icon connect"
|
||||
data-target="Connect"
|
||||
data-target="#connect"
|
||||
data-component="Connect"
|
||||
aria-label="Connect to network"
|
||||
role="tab"
|
||||
aria-controls="connect"
|
||||
@ -47,7 +49,8 @@
|
||||
aria-label="Settings"
|
||||
><button
|
||||
class="icon settings"
|
||||
data-target="Settings"
|
||||
data-target="#settings"
|
||||
data-component="Settings"
|
||||
aria-label="Settings"
|
||||
role="tab"
|
||||
aria-controls="settings"
|
||||
@ -58,7 +61,8 @@
|
||||
aria-label="Help"
|
||||
><button
|
||||
class="icon help"
|
||||
data-target="Help"
|
||||
data-target="#help"
|
||||
data-component="Help"
|
||||
aria-label="Help"
|
||||
role="tab"
|
||||
aria-controls="help"
|
||||
|
@ -107,7 +107,8 @@ window.vueMounted = () => {
|
||||
}
|
||||
} else {
|
||||
vueApp.activeChannel = null;
|
||||
vueApp.$store.commit("activeWindow", target);
|
||||
const component = self.attr("data-component");
|
||||
vueApp.$store.commit("activeWindow", component);
|
||||
|
||||
if (!keepSidebarOpen && $(window).outerWidth() <= utils.mobileViewportPixels) {
|
||||
vueApp.setSidebar(false);
|
||||
|
Loading…
Reference in New Issue
Block a user