History

Make copy-to-clipboard links not tabbable/focusable

Thibaut Courouble committed 10 years ago

Commit 4edefc71 parent e6c79491 file · +1 −1Browse files

Unified · Split

assets/javascripts/views/content/entry_page.coffee+1−1
@@ -40,7 +40,7 @@ class app.views.EntryPage extends app.View · 39 unmodified lines
4040 @trigger 'loaded'
4141 return
4242
43− CLIPBOARD_LINK = '<a class="_pre-clip" title="Copy to clipboard"></a>'
43+ CLIPBOARD_LINK = '<a class="_pre-clip" title="Copy to clipboard" tabindex="-1"></a>'
4444
4545 addClipboardLinks: ->
4646 for el in @findAllByTag('pre')