Skip to content

Commit

Permalink
fix nav links do not reappear after resizing #1502
Browse files Browse the repository at this point in the history
  • Loading branch information
aastha-cse committed Apr 30, 2024
1 parent 9ae61b0 commit b2e39fd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@ h2 a {
display: none;
}

#navmenu.open {
#navmenu.opens {
display: block;
}

Expand Down
4 changes: 2 additions & 2 deletions js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,12 @@ $(function(){

// show mobile menu
$('#nav-button').click(function () {
$('#navmenu').toggleClass('open');
$('#navmenu').toggleClass('opens');
});

// close mobile menu
$('#overlay').click(function () {
$('#navmenu').removeClass('open');
$('#navmenu').removeClass('opens');
});

// dropdown menu
Expand Down

0 comments on commit b2e39fd

Please sign in to comment.