mirror of https://github.com/go-gitea/gitea.git
Backport #31431 by @charles7668 close #31149 The problem is caused by the `data-query=` string affecting the parsing of the `last_left` parameter. When the page is first rendered, `data-query=` does not exist. However, after clicking expand, the returned HTML contains this string, causing the line numbers to start from 1 upon expanding a second time. before fix  after fix  Co-authored-by: charles <30816317+charles7668@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| blob_excerpt.tmpl | ||
| box.tmpl | ||
| comment_form.tmpl | ||
| comment_form_datahandler.tmpl | ||
| comments.tmpl | ||
| compare.tmpl | ||
| conversation.tmpl | ||
| conversation_outdated.tmpl | ||
| csv_diff.tmpl | ||
| escape_title.tmpl | ||
| image_diff.tmpl | ||
| new_comment.tmpl | ||
| new_review.tmpl | ||
| options_dropdown.tmpl | ||
| section_code.tmpl | ||
| section_split.tmpl | ||
| section_unified.tmpl | ||
| stats.tmpl | ||
| whitespace_dropdown.tmpl | ||