Skip to content

Commit

Permalink
Update estScript.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-HenryP authored Nov 12, 2024
1 parent 15b4be4 commit 5708979
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions estScript.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,20 @@ document.getElementById("command").addEventListener("keydown", function(event) {
}
});

/*

document.addEventListener("DOMContentLoaded", function() {
// Hide main content initially
document.getElementById('main').style.display = 'none';
document.getElementById('footer').style.display = 'none';
//document.getElementById('main').style.display = 'none';
//document.getElementById('footer').style.display = 'none';

const instructionContent = document.getElementById("instructionContent");
const toggleButton = document.getElementById("toggleInstructions");

// Toggle the 'open' class to expand content initially.
instructionContent.classList.toggle("open");
toggleButton.classList.toggle("open");

});
*/


// Initializes the leaderboard display when the page loads.
window.onload = function() {
Expand Down

0 comments on commit 5708979

Please sign in to comment.