From bd3787c774adbbb0c7df834f5d4615dc795e7f6c Mon Sep 17 00:00:00 2001 From: Giteabot Date: Fri, 17 May 2024 09:07:09 +0800 Subject: [PATCH] Fix JS error when editing a merged PR's title (#30990) (#31001) Backport #30990 by @wxiaoguang Regression of Fix issue/PR title edit (#30858) Co-authored-by: wxiaoguang --- templates/repo/issue/view_title.tmpl | 6 ++---- web_src/js/features/repo-issue.js | 5 ++++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/templates/repo/issue/view_title.tmpl b/templates/repo/issue/view_title.tmpl index 4415ad79f5..097d7b1f7c 100644 --- a/templates/repo/issue/view_title.tmpl +++ b/templates/repo/issue/view_title.tmpl @@ -26,9 +26,7 @@
-
@@ -77,7 +75,7 @@ {{ctx.Locale.Tr "repo.pulls.title_desc" .NumCommits $headHref $baseHref}} {{end}} - +