Skip to content

Commit

Permalink
fix: navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronczichon committed Mar 10, 2024
1 parent 71b4043 commit 34b266a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web-canada/src/components/Nav.astro
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ const currentPath = pathname.slice(1); // remove the first "/"
<script is:inline>
function toggleNav() {
var x = document.getElementById('myTopnav');
if (x.className === 'topnav') {
if (x.className === 'container topnav') {
x.className += ' responsive';
} else {
x.className = 'topnav';
x.className = 'container topnav';
}
}
</script>

0 comments on commit 34b266a

Please sign in to comment.