We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1007117 commit 72c4debCopy full SHA for 72c4deb
static/js/page.js
@@ -3,6 +3,7 @@ document.addEventListener('DOMContentLoaded', function() {
3
'rh-navigation-primary-item[href^="#"], rh-navigation-primary-item > a[href^="#"]'
4
);
5
6
+ // Close dropdowns after clicking an in-page link on mobile viewports
7
for (let hashLink of mainNavHashLinks) {
8
hashLink.addEventListener('click', function() {
9
hashLink.closest('rh-navigation-primary').close();
0 commit comments