allow Enter on band plan input
This commit is contained in:
parent
4e908e6016
commit
6853d7ca9a
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue