Skip to content

Commit

Permalink
move remove usa-navbar in sr-touchpoints.js
Browse files Browse the repository at this point in the history
  • Loading branch information
BobanL committed Sep 11, 2023
1 parent ec6987c commit d644b26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions assets/js/sr-touchpoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ function initCustomTouchpointsJS() {
}

attachModalToggleListener();
const feedbackSkipLink = document.querySelector(".touchpoints-skipnav");
feedbackSkipLink.classList.remove("usa-skipnav");
}

// need to wait for everything to load otherwise this will not work in Firefox
Expand Down
2 changes: 1 addition & 1 deletion assets/js/touchpoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ function FBAform(d, N) {
},
loadFeebackSkipLink: function () {
this.skipLink = document.createElement("a");
this.skipLink.setAttribute("class", "touchpoints-skipnav");
this.skipLink.setAttribute("class", "usa-skipnav touchpoints-skipnav");
this.skipLink.setAttribute("href", "#fba-button");
this.skipLink.addEventListener("click", function () {
document.querySelector("#fba-button").focus();
Expand Down

0 comments on commit d644b26

Please sign in to comment.