Remove volume spinner buttons, select all on click
This commit is contained in:
parent
6c1d95ea90
commit
5c7ab8fb8f
2 changed files with 3 additions and 1 deletions
|
|
@ -997,4 +997,5 @@ body.dnd-mode .timer-display {
|
|||
}
|
||||
|
||||
.volume-num::-webkit-inner-spin-button,
|
||||
.volume-num::-webkit-outer-spin-button { opacity: 0.4; }
|
||||
.volume-num::-webkit-outer-spin-button { display: none; }
|
||||
.volume-num { -moz-appearance: textfield; }
|
||||
|
|
|
|||
|
|
@ -202,6 +202,7 @@ const volNumEl = document.getElementById('volume-num');
|
|||
if (volNumEl) {
|
||||
volNumEl.addEventListener('change', function () { setVolume(this.value); });
|
||||
volNumEl.addEventListener('input', function () { setVolume(this.value); });
|
||||
volNumEl.addEventListener('click', function () { this.select(); });
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue