Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
repeater-chrome-highlight: added comment to clarify enter key trigger…
Browse files Browse the repository at this point in the history
… event purpose
  • Loading branch information
kevinparkerson committed Oct 27, 2014
1 parent 9a66e78 commit 93d62d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions js/repeater-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@
// allow selection via enter key
$item.keyup(function (e) {
if (e.keyCode === 13) {
// triggering a standard click event to be caught by the row click handler above
$item.trigger('click.fu.repeaterList');
}
});
Expand Down

0 comments on commit 93d62d5

Please sign in to comment.