support checking notes with keyboard
This commit is contained in:
parent
d27a1eb76f
commit
f8c1cc4481
|
@ -27,7 +27,7 @@
|
|||
</script>
|
||||
|
||||
<article class="note flex" class:done={note.done} class:todo={!note.done}>
|
||||
<div class="title" on:click={toggle}>
|
||||
<div class="title" on:click={toggle} on:keypress={toggle}>
|
||||
{note.title}
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue