From 52c8539257d3fb04038b03f96074bd3c09ca8fa5 Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Mon, 1 Jun 2026 10:38:33 -0400 Subject: [PATCH] External embed: fix code-dialog modal visibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit openEmbedCodeDialog set modal.style.display = '' to show the modal, which falls back to the CSS default `.modal { display: none }` — so the dialog never appeared. Every other modal in the app sets `'flex'` explicitly. Matching that pattern. Also fixes the symptom "Embed button doesn't work / doesn't copy anything" — the dialog was always present in the DOM but invisible, so the copy buttons inside it couldn't be reached. --- src/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.html b/src/index.html index 87db273..40a42c0 100644 --- a/src/index.html +++ b/src/index.html @@ -21782,7 +21782,7 @@ const modal = $('embedCodeModal'); if (!modal) return; modal._row = row; - modal.style.display = ''; + modal.style.display = 'flex'; modal.setAttribute('aria-hidden', 'false'); bringModalToFront?.(modal); // Reset to sensible defaults each open.