From 7134c4ea28fa4ea280a6764a3b71cab3db7e461b Mon Sep 17 00:00:00 2001 From: "russell@unturf.com" Date: Tue, 2 Jun 2026 09:45:12 -0400 Subject: [PATCH] =?UTF-8?q?zebra-report:=20initial=20mic-list=20refresh=20?= =?UTF-8?q?on=20page=20load=20=E2=80=94=20mirror?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zebra-report/zebra-spaces.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/zebra-report/zebra-spaces.html b/zebra-report/zebra-spaces.html index 3aba94f..14822d7 100644 --- a/zebra-report/zebra-spaces.html +++ b/zebra-report/zebra-spaces.html @@ -2267,6 +2267,11 @@ $('music-mode').addEventListener('change', async (e) => { if (navigator.mediaDevices && navigator.mediaDevices.addEventListener){ navigator.mediaDevices.addEventListener('devicechange', refreshMicList); } +/* initial population so the dropdown lists the user's inputs before they + * enter a space (matches what the camera-select does). Labels are blank + * until mic permission is granted; deviceIds still populate so the user + * sees how many inputs exist. */ +refreshMicList(); /* ================================================================== * leave / entry buttons @@ -2338,8 +2343,8 @@ logLine('', 'ready โ€” pick a handle, type a rendezvous code, enter the space');