diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-10 23:34:51 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-06-10 23:34:51 +0300 |
commit | 42ca87ebf72a08e3877cbc7c1e670f603f2d68fe (patch) | |
tree | 86915a60346f893bfba2c898b7e29f1ec35f3f7e /app/views/projects/_md_preview.html.haml | |
parent | 190c9e9f39c6d14c2a47083fcd5d64717919d9eb (diff) |
Add negative tabindex to Markdown Write and Preview tabs
Closes #1757
Diffstat (limited to 'app/views/projects/_md_preview.html.haml')
-rw-r--r-- | app/views/projects/_md_preview.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/_md_preview.html.haml b/app/views/projects/_md_preview.html.haml index a831481cf80..b7bca6dae09 100644 --- a/app/views/projects/_md_preview.html.haml +++ b/app/views/projects/_md_preview.html.haml @@ -2,10 +2,10 @@ .md-header.clearfix %ul.nav.nav-tabs %li.active - = link_to '#md-write-holder', class: 'js-md-write-button' do + = link_to '#md-write-holder', class: 'js-md-write-button', tabindex: '-1' do Write %li - = link_to '#md-preview-holder', class: 'js-md-preview-button' do + = link_to '#md-preview-holder', class: 'js-md-preview-button', tabindex: '-1' do Preview - if defined?(referenced_users) && referenced_users |