From 78c181aa6ca0b356e01afb54ced7812958d8c612 Mon Sep 17 00:00:00 2001 From: treamz Date: Sun, 22 Mar 2026 01:44:39 +0300 Subject: [PATCH] Fix PDF result: dont hide stepConfig (stepResult is inside it) --- public/pdf.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/public/pdf.html b/public/pdf.html index 10eb724..8d04eb8 100644 --- a/public/pdf.html +++ b/public/pdf.html @@ -1837,10 +1837,13 @@ function showResult(data) { if (data.downloadUrl) { document.getElementById('downloadLink').href = data.downloadUrl; + document.getElementById('downloadLink').setAttribute('download', ''); document.getElementById('downloadLink').style.display = ''; if (data.size) document.getElementById('resultSize').textContent = formatSize(data.size); - stepConfig.style.display = 'none'; + // Show result section (it's inside stepConfig, so don't hide stepConfig) stepResult.style.display = 'block'; + // Scroll to result + stepResult.scrollIntoView({ behavior: 'smooth', block: 'center' }); } }