add touchend event to reset button

This commit is contained in:
Max Bradbury 2020-07-19 22:36:43 +01:00
parent 3cdf52b5e2
commit 7959987ffd
1 changed files with 2 additions and 1 deletions

View File

@ -119,7 +119,8 @@ async function run() {
preview.removeAttribute("src");
}
resetButton.addEventListener("click", reset);
resetButton.addEventListener("click", reset);
resetButton.addEventListener("touchend", reset);
}
run();