Prechádzať zdrojové kódy

dice num input: max attr instead of size

Fabian Peter Hammerle 5 rokov pred
rodič
commit
592426f36d
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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">