fix: change help download from .docx to .pdf
This commit is contained in:
@@ -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');
|
||||
}
|
||||
Reference in New Issue
Block a user