diff options
Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/js/features/repo-diff.js | 2 | ||||
-rw-r--r-- | web_src/js/features/repo-issue-content.js | 2 | ||||
-rw-r--r-- | web_src/less/_repository.less | 2 |
3 files changed, 4 insertions, 2 deletions
diff --git a/web_src/js/features/repo-diff.js b/web_src/js/features/repo-diff.js index 3d937bbdb1..f877af7211 100644 --- a/web_src/js/features/repo-diff.js +++ b/web_src/js/features/repo-diff.js @@ -45,7 +45,7 @@ export function initRepoDiffConversationForm() { }); - $('.resolve-conversation').on('click', async function (e) { + $(document).on('click', '.resolve-conversation', async function (e) { e.preventDefault(); const comment_id = $(this).data('comment-id'); const origin = $(this).data('origin'); diff --git a/web_src/js/features/repo-issue-content.js b/web_src/js/features/repo-issue-content.js index 602523f89d..40e88fb1f3 100644 --- a/web_src/js/features/repo-issue-content.js +++ b/web_src/js/features/repo-issue-content.js @@ -109,7 +109,7 @@ export function initRepoIssueContentHistory() { if (!issueIndex) return; const $itemIssue = $('.repository.issue .timeline-item.comment.first'); // issue(PR) main content - const $comments = $('.repository.issue .comment-list .comment'); // includes: issue(PR) comments, code rerview comments + const $comments = $('.repository.issue .comment-list .comment'); // includes: issue(PR) comments, review comments, code comments if (!$itemIssue.length && !$comments.length) return; const repoLink = $('#repolink').val(); diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index 5e7fdc4204..75ccc8d25f 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -2673,10 +2673,12 @@ a { color: var(--color-text); + text-decoration: none; } a:hover { color: var(--color-primary); + text-decoration: none; } } |