Merge pull request #1927 from makhov/bug/1824

Fix #1824 add tabindex
This commit is contained in:
Unknwon 2015-11-11 15:30:55 -05:00
commit f28173bf50

View file

@ -326,14 +326,14 @@
<a class="preview item" data-url="/api/v1/markdown" data-context="{{$.RepoLink}}">{{$.i18n.Tr "repo.release.preview"}}</a>
</div>
<div class="ui bottom attached active write tab segment">
<textarea id="content" name="content"></textarea>
<textarea tabindex="1" id="content" name="content"></textarea>
</div>
<div class="ui bottom attached tab preview segment markdown emojify">
{{$.i18n.Tr "repo.release.loading"}}
</div>
<div class="text right edit buttons">
<div class="ui basic blue cancel button">{{.i18n.Tr "repo.issues.cancel"}}</div>
<div class="ui green save button">{{.i18n.Tr "repo.issues.save"}}</div>
<div class="ui basic blue cancel button" tabindex="3">{{.i18n.Tr "repo.issues.cancel"}}</div>
<div class="ui green save button" tabindex="2">{{.i18n.Tr "repo.issues.save"}}</div>
</div>
</div>
</div>