Skip to content

Commit e5eb7a4

Browse files
committed
WD-30045 - Fix bug in adding "back" buttons to global-nav
1 parent c7e5957 commit e5eb7a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

static/js/base/navigation/globalNav.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export function patchAllCanonicalMobileMarkup() {
55
);
66

77
topMobileSections?.forEach((section: Element) => {
8-
const sectionLink = section.querySelector("a.p-navigation__link");
8+
const sectionLink = section.querySelector("button.p-navigation__link");
99
const sectionHref = sectionLink?.getAttribute("href");
1010

1111
const sectionLinksList = section.querySelector("ul");

0 commit comments

Comments
 (0)