mirror of
https://codeberg.org/forgejo/forgejo
synced 2025-10-18 22:40:38 +02:00
When you edit a comment and the comment already has a markdown editor, then the code will click on the 'Write' tab, in case you canceled editting the comment when you were at the 'Preview' tab. In forgejo/forgejo#2681 I added `href="#"` to the tab items, this causes that when the 'Write' tab is being clicked by the code the page is jumped the beginning of the page. Instead of being clever and trying to make this item interactive via another way or via javascript avoid this jumping, we do better and make this element a button. This item is not a link, it's a button that will perform a action. This entirely avoids the issue of jumping and it's still interactive. Resolves forgejo/forgejo#9542 Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9645 Reviewed-by: Beowulf <beowulf@beocode.eu> Co-authored-by: Gusted <postmaster@gusted.xyz> Co-committed-by: Gusted <postmaster@gusted.xyz> |
||
---|---|---|
.. | ||
actions | ||
search | ||
secrets | ||
user | ||
variables | ||
webhook | ||
blocked_users_list.tmpl | ||
combomarkdowneditor.tmpl | ||
issueicon.tmpl | ||
issuelist.tmpl | ||
label_filter.tmpl | ||
quota_overview.tmpl | ||
repo_search.tmpl | ||
searchbottom.tmpl | ||
searchfile.tmpl |