fix: change help download from .docx to .pdf

This commit is contained in:
root
2026-07-16 10:01:47 +00:00
parent 6fa8c58179
commit 5353fb2b4e
3 changed files with 9 additions and 9 deletions

View File

@@ -170,7 +170,7 @@ async function viewTagsHelp() {
html += '</tbody></table>';
}
html += '</div>';
html += '<div class="mt-16"><button class="btn btn-outline" onclick="downloadHelpDocx()">Download as .docx</button></div>';
html += '<div class="mt-16"><button class="btn btn-outline" onclick="downloadHelpPdf()">Download as .pdf</button></div>';
showModal(html, 'Carbone Tags Reference');
} catch (e) {
@@ -179,8 +179,8 @@ async function viewTagsHelp() {
}
// ============================================================
// TAGS HELP - Download .docx
// TAGS HELP - Download .pdf
// ============================================================
function downloadHelpDocx() {
window.open(CARBONE_API + '/help-docx', '_blank');
function downloadHelpPdf() {
window.open(CARBONE_API + '/help-pdf', '_blank');
}