1
0
mirror of https://github.com/morris/vanilla-todo.git synced 2025-08-23 06:02:48 +02:00

clean up comments

This commit is contained in:
Morris Brodersen
2023-11-26 14:31:37 +01:00
parent c91b27980e
commit 2815a1eb4c
9 changed files with 54 additions and 47 deletions

View File

@@ -18,10 +18,10 @@ export function TodoItemInput(el) {
inputEl.addEventListener('keyup', (e) => {
switch (e.keyCode) {
case 13: // enter
case 13: // Enter
save();
break;
case 27: // escape
case 27: // Escape
clear();
break;
}