Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hyyan committed Mar 5, 2018
1 parent 99bcaa1 commit d2d0463
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/src/events/editing.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function gw_onRowEditingsEvent(e) {
}
}

export function ge_onMoveToNextCell(e) {
export function gw_onMoveToNextCell(e) {

const key = e.which || e.keyCode;
if (gw_editing && key === 13) { // enter
Expand Down
2 changes: 1 addition & 1 deletion js/src/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export function gw_setData(json, options) {

switch (behavior) {
case 'next':
container.addEventListener('keydown', ge_onMoveToNextCell);
container.addEventListener('keydown', gw_onMoveToNextCell);
break;
default:
break;
Expand Down

0 comments on commit d2d0463

Please sign in to comment.