Browse Source

Make copy-to-clipboard links not tabbable/focusable

Thibaut Courouble 9 years ago
parent
commit
4edefc7a8c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      assets/javascripts/views/content/entry_page.coffee

+ 1 - 1
assets/javascripts/views/content/entry_page.coffee

@@ -40,7 +40,7 @@ class app.views.EntryPage extends app.View
     @trigger 'loaded'
     return
 
-  CLIPBOARD_LINK = '<a class="_pre-clip" title="Copy to clipboard"></a>'
+  CLIPBOARD_LINK = '<a class="_pre-clip" title="Copy to clipboard" tabindex="-1"></a>'
 
   addClipboardLinks: ->
     for el in @findAllByTag('pre')