diff --git a/script.js b/script.js index 260835b..2474a59 100644 --- a/script.js +++ b/script.js @@ -258,6 +258,9 @@ window.onload = () => { }) //auto_select document.querySelectorAll('input[type="number"]').forEach(input => { + input.addEventListener("click", (evt) => { + evt.target.select(); + }); input.addEventListener("input", auto_select_evt); }); //auto_calculate