diff options
author | silverwind <me@silverwind.io> | 2023-08-14 04:16:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-14 02:16:40 +0000 |
commit | 56b6b2b88ef175cc18d2ccdb86c220e885a24262 (patch) | |
tree | 346acee8a05cbd36217eb42e3b8eac34f0307348 /routers/web | |
parent | 7456573541c0c01314690e4a40bc4b5ec6faf79e (diff) | |
download | gitea-56b6b2b88ef175cc18d2ccdb86c220e885a24262.tar.gz gitea-56b6b2b88ef175cc18d2ccdb86c220e885a24262.zip |
Fix tooltip of commit select button (#26472)
Previously, the tooltip for this button was only shown after opening and
closing it once because it was only set after the server response, now
it shows before opening it.
Diffstat (limited to 'routers/web')
-rw-r--r-- | routers/web/repo/pull.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/routers/web/repo/pull.go b/routers/web/repo/pull.go index be4e9711e7..e3854779fe 100644 --- a/routers/web/repo/pull.go +++ b/routers/web/repo/pull.go @@ -718,7 +718,6 @@ func GetPullCommits(ctx *context.Context) { // Get the needed locale resp.Locale = map[string]string{ "lang": ctx.Locale.Language(), - "filter_changes_by_commit": ctx.Tr("repo.pulls.filter_changes_by_commit"), "show_all_commits": ctx.Tr("repo.pulls.show_all_commits"), "stats_num_commits": ctx.TrN(len(commits), "repo.activity.git_stats_commit_1", "repo.activity.git_stats_commit_n", len(commits)), "show_changes_since_your_last_review": ctx.Tr("repo.pulls.show_changes_since_your_last_review"), |