Skip to content

Commit

Permalink
Run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
mtruj013 committed Jul 17, 2023
1 parent 3098e40 commit d3c7082
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions static/js/src/risc-v.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ const boards = document.querySelectorAll(`[role=tabpanel]`);
const dropdownSelect = document.getElementById("boardSelect");

dropdownSelect.addEventListener("change", (event) => {
selectBoard();
})
selectBoard();
});

function selectBoard() {
boards.forEach(board => {
boards.forEach((board) => {
if (board.id === dropdownSelect.value) {
board.classList.remove("u-hide")
board.classList.remove("u-hide");
board.focus();
} else {
board.classList.add("u-hide");
}
})
}
});
}

0 comments on commit d3c7082

Please sign in to comment.