fix(rmeets): remove loading spinner after Jitsi iframe injection

The "Connecting to meeting..." loading div remained visible on top of
the Jitsi iframe in the minimal view. The iframe is created by the
JitsiMeetExternalAPI constructor, so remove the spinner immediately after.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Jeff Emmett 2026-04-07 14:55:11 -04:00
parent a3ec58a4c5
commit a4a800a498
1 changed files with 3 additions and 0 deletions

View File

@ -539,6 +539,9 @@ routes.get("/:room", (c) => {
DISABLE_JOIN_LEAVE_NOTIFICATIONS: false,
},
});
// Remove loading spinner — iframe is already injected by the constructor
var loadingEl = document.querySelector(".loading");
if (loadingEl) loadingEl.remove();
api.addEventListener("readyToClose", function() {
try { window.close(); } catch(e) {}
document.getElementById("jitsi-container").innerHTML =