Browse Source

Do not allow negative bandwidth

opi 10 years ago
parent
commit
a336fcc59c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      index.html

+ 2 - 2
index.html

@@ -101,11 +101,11 @@ Un moyen de contact au moins est nécessaire
     </p>
     <p>
       <label for="bandwidth">Débit total (Mbps)</label>
-      <input name="bandwidth" id="bandwidth" type="number" class="form-control"/>
+      <input name="bandwidth" id="bandwidth" type="number" min="0" class="form-control"/>
     </p>
     <p>
       <label for="share-part">Je souhaite partager (au max.) (Mbps)</label>
-      <input name="share-part" id="share-part" type="number" class="form-control"/>
+      <input name="share-part" id="share-part" type="number" min="0" class="form-control"/>
     </p>
 
     <h2>Ma localisation</h2>