auto enable/disable proceed button
This commit is contained in:
parent
791b6ad5b1
commit
97a05984ab
|
@ -72,12 +72,14 @@ async function run() {
|
|||
|
||||
function new_game() {
|
||||
textareaGameDataInput.value = load_default_game_data();
|
||||
checkGameData();
|
||||
// we don't need to look at the default game data, so skip ahead to the image page
|
||||
buttonGameDataProceed.click();
|
||||
}
|
||||
|
||||
function clear_game() {
|
||||
textareaGameDataInput.value = "";
|
||||
checkGameData();
|
||||
}
|
||||
|
||||
buttonNewGame.addEventListener("click", new_game);
|
||||
|
|
Loading…
Reference in New Issue