fuzzyworld

hawk / commit

For minutes and seconds, select the text when clicking inside the text box.

6084e9ba533d6837dddc1fd2ec54822c32ac4ae4 · Pavel Safronov · 2023-10-14 18:14:24 -0700 · parents feb7d632ccd0

For minutes and seconds, select the text when clicking inside the text box.
 public/index.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/public/index.html b/public/index.html
index dbcdf90..cac869e 100644
--- a/public/index.html
+++ b/public/index.html
@@ -84,11 +84,11 @@
             </div>
             <div>
                 <span id="minutes">
-                    <input id="minutes-input" type="number" min="0" max="59" value="5" />
+                    <input id="minutes-input" type="number" min="0" max="59" value="5" onclick="this.select();" />
                     <label for="minutes-input">min</label>
                 </span>
                 <span id="seconds">
-                    <input id="seconds-input" type="number" min="0" max="59" value="32" />
+                    <input id="seconds-input" type="number" min="0" max="59" value="32" onclick="this.select();" />
                     <label for="seconds-input">sec</label>
                 </span>
                 <button id="search" onclick="searchForMatch()">Search</button>