From c57f1ed8279d13223c16dd96c0f2a92cb13ef807 Mon Sep 17 00:00:00 2001 From: nmemmert <67961292+nmemmert@users.noreply.github.com> Date: Thu, 30 Jul 2026 09:03:42 -0400 Subject: [PATCH] Wrap document iframe in collapsible
element MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Each imported doc now shows as a collapsed summary line (📄 filename.docx) that expands to reveal the iframe and download link when clicked. Co-Authored-By: Claude Sonnet 4.6 --- public/admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/admin.js b/public/admin.js index 3f63b6d..9b106ac 100644 --- a/public/admin.js +++ b/public/admin.js @@ -621,7 +621,7 @@ $('#import-go-btn').addEventListener('click', async () => { body: { base64, originalName: file.name }, }); const embed = result.htmlUrl - ? `\n

⬇️ Download ${result.originalName}

` + ? `
📄 ${result.originalName}

⬇️ Download ${result.originalName}

` : `📄 ${result.originalName}`; if (type === 'assignment') { const cur = $('#ie-body-assignment').value;