allow Enter on band plan input

This commit is contained in:
Wolfgang 2024-05-15 21:00:20 +02:00
parent 91380d5264
commit 48d3e53b66

View file

@ -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