Browse Source

dice num input: max attr instead of size

Fabian Peter Hammerle 5 years ago
parent
commit
592426f36d
1 changed files with 1 additions and 1 deletions
  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">