Launcher: style help content menu
Change-Id: I5bd5d6f7663cc2a3f47a0329428f00f6343b597c
diff --git a/core/installer/welcome/static/launcher.js b/core/installer/welcome/static/launcher.js
index a1a88e9..243436b 100644
--- a/core/installer/welcome/static/launcher.js
+++ b/core/installer/welcome/static/launcher.js
@@ -72,9 +72,13 @@
const helpContentId = 'help-content-' + helpTitleId;
const allContentElements = document.querySelectorAll('.help-content');
allContentElements.forEach(function (contentElement) {
- contentElement.style.display = 'none';
+ contentElement.style.display = "none";
});
- document.getElementById(helpContentId).style.display = 'block';
+ modalHelpButtons.forEach(function (button) {
+ button.removeAttribute("aria-current");
+ });
+ document.getElementById(helpContentId).style.display = 'block';
+ button.setAttribute("aria-current", "page");
});
});
});