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

Commit

Permalink
Merge pull request #804 from ExactTarget/repeater-chrome-highlight
Browse files Browse the repository at this point in the history
Improving Chrome focus highlighting
  • Loading branch information
futuremint committed Oct 27, 2014
2 parents fb690d6 + 93d62d5 commit 383315d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/repeater-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,8 @@
// allow selection via enter key
$item.keyup(function (e) {
if (e.keyCode === 13) {
$item.trigger('clicked.fu.repeaterList');
// triggering a standard click event to be caught by the row click handler above
$item.trigger('click.fu.repeaterList');
}
});
}
Expand Down
4 changes: 4 additions & 0 deletions less/repeater-list.less
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@
}

tr {
&:focus {
outline: 1px dotted #66afe9;
}

&.empty {
td {
border-bottom: none;
Expand Down

0 comments on commit 383315d

Please sign in to comment.