V1
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Contrôles audio depuis un pop-up + raccourci mute haut-parleur. */
|
||||
/* Réglages volume/gain dans la fenêtre, mute micro + haut-parleur dans la barre haute. */
|
||||
(() => {
|
||||
'use strict';
|
||||
const panel = document.getElementById('audioSettingsPanel');
|
||||
@@ -24,8 +24,8 @@
|
||||
speaker.setAttribute('aria-label', settings.speaker_muted ? 'Réactiver le son' : 'Couper le son');
|
||||
speaker.title = speaker.getAttribute('aria-label');
|
||||
mic.setAttribute('aria-pressed', String(settings.mic_muted));
|
||||
mic.textContent = settings.mic_muted ? 'Coupé' : 'Actif';
|
||||
mic.title = settings.mic_muted ? 'Réactiver le microphone' : 'Couper le microphone';
|
||||
mic.setAttribute('aria-label', settings.mic_muted ? 'Réactiver le microphone' : 'Couper le microphone');
|
||||
mic.title = mic.getAttribute('aria-label');
|
||||
}
|
||||
|
||||
async function update(changes) {
|
||||
|
||||
Reference in New Issue
Block a user