small fixes

This commit is contained in:
Adrien MALINGREY 2023-07-01 22:10:56 +02:00
parent b9bb673e7e
commit 4f4447e889
2 changed files with 8 additions and 7 deletions

11
app.js
View File

@ -1,4 +1,5 @@
/* Contants */
/* Constants */
const TRANSLATION = {
NONE: [ 0, 0],
LEFT: [-1, 0],
@ -477,10 +478,10 @@ class Settings {
}
init() {
this.form.onsubmit = newGame
levelInput.name = "startLevel"
levelInput.disabled = false
titleHeader.innerHTML = "QUATRIS"
this.form.onsubmit = newGame
levelInput.name = "startLevel"
levelInput.disabled = false
titleHeader.innerHTML = "QUATRIS"
resumeButton.innerHTML = "Jouer"
}

View File

@ -74,13 +74,13 @@
<input name="hold" id="holdInput" type="text" class="form-control text-center" value="c" onclick="changeKey(this)" placeholder="Touche ?" required>
</div>
<div class="col-sm-4">
<input name="pause" id="pauseInput" type="text" class="form-control text-center" value="Échap" onclick="changeKey(this)" placeholder="Touche ?" required>
<input name="pause" id="pauseInput" type="text" class="form-control text-center" value="Échap." onclick="changeKey(this)" placeholder="Touche ?" required>
</div>
<label for="pauseInput" title="Pause" class="col-sm-2 col-form-label d-flex align-items-center justify-content-center">
<i class="bi bi-pause"></i>
</label>
</fieldset>
<fieldset id="autorepearFieldset" class="row g-2 mb-3 align-items-center text-center">
<fieldset id="autorepeatFieldset" class="row g-2 mb-3 align-items-center text-center">
<legend class="text-start">Répétition automatique</legend>
<label for="arrInput" class="col-sm-2 col-form-label" title="Automatic Repeat Rate : période de répétition de l'action">ARR</label>
<div class="col-sm-4">