Skip to content

Commit

Permalink
Fixed bug w/ #about anchor tag
Browse files Browse the repository at this point in the history
  • Loading branch information
kyletimmermans committed Oct 23, 2024
1 parent 34cc905 commit 75421a1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,15 @@ document.addEventListener("DOMContentLoaded", (event) => {
var dropdown = new bootstrap.Dropdown(document.getElementById("dropdownMenu2"));
dropdown.hide();
modal.show();
break
verb(); // Need an exercise type after opening
break;
case "#exercises":
var modal = new bootstrap.Modal(document.getElementById("aboutModal"));
var dropdown = new bootstrap.Dropdown(document.getElementById("dropdownMenu2"));
modal.hide();
dropdown.show();
verb();
break;
default:
verb();
}
Expand Down

0 comments on commit 75421a1

Please sign in to comment.