Skip to content

Commit

Permalink
Fix using (just) Enter to end editing of board/list titles
Browse files Browse the repository at this point in the history
  • Loading branch information
apankrat committed Dec 10, 2021
1 parent 7781f0b commit 4652568
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion nullboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -4673,6 +4673,13 @@ <h3>Auto-backup</h3>
return false;
}

// done on Enter if editing board or list title
if (ev.keyCode == 13 && ! isNote)
{
stopEditing($this, false, false);
return false;
}

// done + collapse
if (isNote && ev.altKey && ev.key == 'ArrowUp')
{
Expand Down Expand Up @@ -5015,7 +5022,7 @@ <h3>Auto-backup</h3>
*/
var NB =
{
codeVersion: 20211023,
codeVersion: 20211210,
blobVersion: 20190412, // board blob format in Storage
board: null,
storage: null,
Expand Down

0 comments on commit 4652568

Please sign in to comment.