Skip to content

Commit

Permalink
Update banner.js
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfGamer2 authored Dec 1, 2024
1 parent 617bdbb commit a3692fd
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions banner.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
document.getElementById("announcement-banner").addEventListener("click", function() {
var additionalInfo = document.getElementById("additional-info");
if (additionalInfo.style.display === "block") {
additionalInfo.style.display = "none";
} else {
additionalInfo.style.display = "block";
}
});


//document.getElementById("announcement-banner").addEventListener("click", function() {
//var additionalInfo = document.getElementById("additional-info");
//if (additionalInfo.style.display === "block") {
// additionalInfo.style.display = "none";
// } else {
// additionalInfo.style.display = "block";
// }
// });

0 comments on commit a3692fd

Please sign in to comment.