diff --git a/script.js b/script.js index 7706663..b3fb918 100644 --- a/script.js +++ b/script.js @@ -119,7 +119,8 @@ async function run() { preview.removeAttribute("src"); } - resetButton.addEventListener("click", reset); + resetButton.addEventListener("click", reset); + resetButton.addEventListener("touchend", reset); } run();