per MDN, change type from number to text
This commit is contained in:
parent
e2c6b7f657
commit
5294860fea
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
<div id="modulus-box">
|
<div id="modulus-box">
|
||||||
<label id="modulus-label" for="modulus">mod</label>
|
<label id="modulus-label" for="modulus">mod</label>
|
||||||
<input id="modulus" required type="number" min="1" step="1" inputmode="none" />
|
<input id="modulus" required type="text" inputmode="numeric" pattern="\d+" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
@ -57,7 +57,6 @@
|
||||||
<button id="enter" type="button">≡</button>
|
<button id="enter" type="button">≡</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script type="module" src="main.js"></script>
|
<script type="module" src="main.js"></script>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue