File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -507,7 +507,7 @@ void handleRoot() {
507507 " <label>Volume</label>"
508508 " <input type='range' class='volume-slider' id='volumeControl' min='0' max='30' "
509509 " value='" + String (globalVolume) + " ' oninput='setVolume(this.value)'>"
510- " <span id='volumeValue'>" + String (globalVolume) + " </span>"
510+ " <span id='volumeValue' style='min-width: 25px;' >" + String (globalVolume) + " </span>"
511511 " </div>"
512512
513513 // Platform Announcement Button
@@ -551,6 +551,7 @@ void handleRoot() {
551551
552552 " function setVolume(value) {"
553553 " fetch('/setVolume?value=' + value, { method: 'GET' });"
554+ " document.getElementById('volumeValue').textContent = value;"
554555 " }"
555556
556557 " function reinitDFPlayer() {"
You can’t perform that action at this time.
0 commit comments