diff --git a/public/pdf.html b/public/pdf.html index d0d3c5c..1bb5836 100644 --- a/public/pdf.html +++ b/public/pdf.html @@ -982,7 +982,7 @@ -
+
3 Обработка @@ -1388,9 +1388,12 @@ stepResult.style.display = 'none'; downloadLink.style.display = 'none'; progressWrap.style.display = 'none'; - // Hide "Выполнить" for tabs with inline actions (pages have own buttons) - const noMainButton = ['pages']; - actionWrap.style.display = noMainButton.includes(tab.dataset.op) ? 'none' : 'block'; + // Hide step 3+4 entirely for tabs with inline actions + const inlineTabs = ['pages']; + const isInline = inlineTabs.includes(tab.dataset.op); + var s3 = document.getElementById('step3Wrap'); + if (s3) s3.style.display = isInline ? 'none' : ''; + actionWrap.style.display = isInline ? 'none' : 'block'; }); });