mirror of
https://github.com/lindsayevans/outline.js.git
synced 2024-09-11 20:47:06 +03:00
Merge pull request #1 from mems/patch-1
Remove focus ring of all focusable elements
This commit is contained in:
commit
d3d94af24d
@ -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(){
|
||||
|
Loading…
Reference in New Issue
Block a user