Fix PDF result: dont hide stepConfig (stepResult is inside it)
This commit is contained in:
parent
816753c925
commit
78c181aa6c
@ -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' });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user