Skip to content

Commit

Permalink
Merge pull request angular-ui#2907 from NicolasN/patch-1
Browse files Browse the repository at this point in the history
Update cellnav.js
  • Loading branch information
c0bra committed Mar 4, 2015
2 parents 5f155b2 + c94f829 commit b7d6928
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/features/cellnav/js/cellnav.js
Original file line number Diff line number Diff line change
Expand Up @@ -1079,7 +1079,6 @@
});

$elm.find('div').on('focus', function (evt) {
console.log('cellNav focus');
uiGridCtrl.cellNav.broadcastCellNav(new RowCol($scope.row, $scope.col), evt.ctrlKey || evt.metaKey);
});

Expand All @@ -1101,7 +1100,6 @@

// This cellNav event came from a keydown event so we can safely refocus
if (rowCol.hasOwnProperty('eventType') && rowCol.eventType === uiGridCellNavConstants.EVENT_TYPE.KEYDOWN) {
console.log('focus from navEvent');
$elm.find('div')[0].focus();
}
}
Expand Down

0 comments on commit b7d6928

Please sign in to comment.