Skip to content

Commit

Permalink
chore: updating comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vdua committed May 2, 2023
1 parent 93d295a commit ece958e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/header/nav-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ function configureHamburgerLoginBtn() {
const actualLoginButton = document.querySelector('.nav-tools-login');
if (loginButton) {
// this attributes adds a click handler which disables any click events
// on this particular button
// on this particular button. Hence removing the attribute
loginButton.removeAttribute('data-toggle');
loginButton.addEventListener('click', () => {
actualLoginButton.click();
Expand Down

0 comments on commit ece958e

Please sign in to comment.