support checking notes with keyboard

This commit is contained in:
Inhji 2022-10-17 22:14:12 +02:00
parent d27a1eb76f
commit f8c1cc4481
1 changed files with 1 additions and 1 deletions

View File

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