Minor html optimizations.
This commit is contained in:
@@ -9,8 +9,8 @@
|
||||
</div>
|
||||
<div class="modal-body">
|
||||
<div class="form-floating">
|
||||
<input type="text" class="form-control form-control-lg pb-1" id="playerName" placeholder="Spieler-Name" required>
|
||||
<label for="playerName">Spieler-Name</label>
|
||||
<input type="text" class="form-control form-control-lg pb-1" id="singleCalcPlayerName" placeholder="Spieler-Name" required>
|
||||
<label for="singleCalcPlayerName">Spieler-Name</label>
|
||||
</div>
|
||||
<div class="text-warning fs-5 badge mt-2" id="resultScore" style="display: none;"></div>
|
||||
<div class="error-message text-danger fs-5 badge mt-2" style="display: none;"></div>
|
||||
@@ -29,7 +29,7 @@
|
||||
let submitScoreHandler = null;
|
||||
|
||||
const submitButton = singleCalcModal.querySelector('button[name="submit"]');
|
||||
const playerName = singleCalcModal.querySelector('#playerName');
|
||||
const playerName = singleCalcModal.querySelector('#singleCalcPlayerName');
|
||||
const errorDiv = singleCalcModal.querySelector('.error-message');
|
||||
const resultScore = singleCalcModal.querySelector('#resultScore');
|
||||
const spinner = '<span class="spinner-border spinner-border-sm me-2" role="status"></span>Lade Daten...'
|
||||
|
||||
Reference in New Issue
Block a user