nodata ui changes

This commit is contained in:
Magnus Åhall 2024-05-25 15:00:01 +02:00
parent 1185ebd030
commit fe9571c466
10 changed files with 86 additions and 79 deletions

View file

@ -1,7 +1,7 @@
export class UI {
constructor() {
document.addEventListener('keydown', evt=>this.keyHandler(evt))
document.querySelector('input[name="name"]').focus()
document.querySelector('input[name="group"]').focus()
}
keyHandler(evt) {
if (!(evt.altKey && evt.shiftKey))