diff --git a/band-plan.html b/band-plan.html index 7968e94..cbf1dbb 100644 --- a/band-plan.html +++ b/band-plan.html @@ -127,7 +127,11 @@ div#togglebuttons>button { if (table.getSelectedRows().length > 0) { download_range = "selected"; } - table.download("pdf", path.basename(document.getElementById('sel_plan').value, '.yml') + '.pdf', {}, download_range); + table.download( + "pdf", + path.basename(document.getElementById('sel_plan').value, '.yml') + '.pdf', + { orientation:"portrait" }, + download_range); }); table.on("tableBuilt", () => {