Skip to content

Commit

Permalink
Refactor #1802
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Nov 24, 2021
1 parent effa840 commit 0bdb3bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/calendar/Calendar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1901,7 +1901,7 @@ export default {
cell.tabIndex = '-1';
var cells = cell.parentElement.children;
var cellIndex = DomHandler.index(cell);
let nextCell = cells[event.which === 40 ? cellIndex + 3 : cellIndex - 2];
let nextCell = cells[event.which === 40 ? cellIndex + 2 : cellIndex - 2];
if (nextCell) {
nextCell.tabIndex = '0';
nextCell.focus();
Expand Down

0 comments on commit 0bdb3bd

Please sign in to comment.