From fe0a2a0611ddab0bb1163d479382a2f84faf38df Mon Sep 17 00:00:00 2001 From: keboss-m <85340750+keboss-m@users.noreply.github.com> Date: Mon, 1 Jun 2026 12:34:41 +0300 Subject: [PATCH] Fix docx download: make docx clickable, add forced download via Blob and ObjectURL --- backend/static/app.js | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) diff --git a/backend/static/app.js b/backend/static/app.js index 9b652a8..bf6d794 100644 --- a/backend/static/app.js +++ b/backend/static/app.js @@ -232,7 +232,7 @@ class TranscriptionApp { const isMd = file.ext === '.md'; const isDocx = file.ext === '.docx'; const icon = isMd ? '📝' : isDocx ? '📄' : '📎'; - const clickable = isMd ? 'clickable' : ''; + const clickable = isMd || isDocx ? 'clickable' : ''; return `
✅ Файл скачан: ${this.escapeHtml(path)}
+