Explorar o código

dice num input: max attr instead of size

Fabian Peter Hammerle %!s(int64=5) %!d(string=hai) anos
pai
achega
592426f36d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      index.html

+ 1 - 1
index.html

@@ -89,7 +89,7 @@ footer a:hover {
 
 <p>
     dices
-    <input id="dice_num" type="number" min="1" size="2" value="6">
+    <input id="dice_num" type="number" min="1" max="32" value="6">
     <input type="button" onclick="decrement()" value="-">
     <input type="button" onclick="increment()" value="+">
     <input type="button" onclick="roll()" value="roll">