diff --git a/band-plan.html b/band-plan.html index e2b7821..7968e94 100644 --- a/band-plan.html +++ b/band-plan.html @@ -36,6 +36,12 @@ div#togglebuttons>button { document.addEventListener('DOMContentLoaded', () => { update_plan(); + + document.getElementById("sel_plan").addEventListener("keydown", (event) => { + if (event.key === 'Enter') { + update_plan() + } + }); }); // eslint-disable-next-line no-unused-vars