Skip to content

Commit

Permalink
Rewind move list to start position on Up key lichess-org#5193
Browse files Browse the repository at this point in the history
  • Loading branch information
ddugovic authored and RoepStoep committed May 5, 2020
1 parent 31dd33b commit 7ce9a2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/round/src/keyboard.ts
Expand Up @@ -31,7 +31,7 @@ export function init(ctrl: RoundController) {
ctrl.redraw();
}));
k.bind(['up', 'k'], preventing(function() {
ctrl.userJump(1);
ctrl.userJump(0);
ctrl.redraw();
}));
k.bind(['down', 'j'], preventing(function() {
Expand Down

0 comments on commit 7ce9a2d

Please sign in to comment.