mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 02:10:40 +00:00
Signed-off-by: Rob Watson <rfwatson@users.noreply.github.com>
This commit is contained in:
parent
57b2ce03d5
commit
d7494046ac
1 changed files with 4 additions and 0 deletions
|
@ -1048,6 +1048,10 @@ function initPullRequestReview() {
|
||||||
$(this).closest('tr').removeClass('focus-lines-new focus-lines-old');
|
$(this).closest('tr').removeClass('focus-lines-new focus-lines-old');
|
||||||
});
|
});
|
||||||
$('.add-code-comment').on('click', function(e) {
|
$('.add-code-comment').on('click', function(e) {
|
||||||
|
// https://github.com/go-gitea/gitea/issues/4745
|
||||||
|
if ($(e.target).hasClass('btn-add-single')) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
var isSplit = $(this).closest('.code-diff').hasClass('code-diff-split');
|
var isSplit = $(this).closest('.code-diff').hasClass('code-diff-split');
|
||||||
var side = $(this).data('side');
|
var side = $(this).data('side');
|
||||||
|
|
Loading…
Reference in a new issue