allow Enter on band plan input
This commit is contained in:
parent
d85fef2af8
commit
bb74e7d67b
|
@ -36,6 +36,12 @@ div#togglebuttons>button {
|
||||||
|
|
||||||
document.addEventListener('DOMContentLoaded', () => {
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
update_plan();
|
update_plan();
|
||||||
|
|
||||||
|
document.getElementById("sel_plan").addEventListener("keydown", (event) => {
|
||||||
|
if (event.key === 'Enter') {
|
||||||
|
update_plan()
|
||||||
|
}
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
// eslint-disable-next-line no-unused-vars
|
// eslint-disable-next-line no-unused-vars
|
||||||
|
|
Loading…
Reference in a new issue