Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove focus ring of all focusable elements
  • Loading branch information
mems committed Oct 23, 2015
1 parent 0d16b1e commit bbd5420
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 bbd5420

Please sign in to comment.