Skip to content

Commit

Permalink
fix mode_controls
Browse files Browse the repository at this point in the history
  • Loading branch information
lucky-sideburn committed Aug 13, 2024
1 parent 8030665 commit fcbbbda
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions html5/mode_controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ function startGameMode() {
game_mode_switch = false;
$("#gameModeButton").text("Enable Game Mode");
} else {
/* TO DO: DO BETTER :D */
let checkbox = {
checked: true,
};
let close_button = document.getElementById("closeButtonReport");
close_button.innerHTML = "Skip";
showPrepareChaosReportModal(checkbox);
game_mode_switch = true;
document.getElementById("gameContainer").style.width = "100%";
document.getElementById("gameContainer").style.height = "100%";
Expand All @@ -26,14 +33,6 @@ function startGameMode() {
chaos_program_screen.style.display = "none";
programming_mode_buttons.style.display = "none";
resizeCharts();

/* TO DO: DO BETTER :D */
let checkbox = {
checked: true,
};
let close_button = document.getElementById("closeButtonReport");
close_button.innerHTML = "Skip";
showPrepareChaosReportModal(checkbox);
}

function startProgrammingMode() {
Expand Down

0 comments on commit fcbbbda

Please sign in to comment.