Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #1 from mems/patch-1
Remove focus ring of all focusable elements
  • Loading branch information
lindsayevans committed Oct 24, 2015
2 parents 0d16b1e + bbd5420 commit d3d94af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion outline.js
Expand Up @@ -22,7 +22,7 @@

// Using mousedown instead of mouseover, so that previously focused elements don't lose focus ring on mouse move
add_event_listener('mousedown', function(){
set_css('a{outline:none}');
set_css(':focus{outline:0}::-moz-focus-inner{border:0;}');
});

add_event_listener('keydown', function(){
Expand Down

0 comments on commit d3d94af

Please sign in to comment.