Skip to content

Commit

Permalink
Adding macronizer clearForm functionality.
Browse files Browse the repository at this point in the history
(the function was missing)
  • Loading branch information
hellpanderrr committed May 16, 2024
1 parent 52db7da commit 3da4b14
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions wiktionary_pron/macronizer.html
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@
}

document.getElementById("dark_mode").addEventListener("click", toggleDarkMode);
document.getElementById("clear_button").addEventListener("click", clearInput);

function clearInput() {
document.querySelector('#text_to_macronize').value = ''
}
</script>


Expand Down

0 comments on commit 3da4b14

Please sign in to comment.