Skip to content

Commit

Permalink
Fixing icon logic when option is selected, icon displays as open
Browse files Browse the repository at this point in the history
  • Loading branch information
tramirez30 committed Dec 16, 2024
1 parent 42977cc commit 1174890
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ let clearQuote = () => {
// Targets dropdown input
let dropDown = document.querySelector(".dropdown");
let icon = document.querySelector(".fas.fa-angle-down");
let option = document.querySelector(".dropdown-item");

let isActive = (e) => {
//Check to see if dropdown was selected
Expand Down

0 comments on commit 1174890

Please sign in to comment.