forked from forgejo/forgejo
Backport #23096 by @wxiaoguang Close #22911 I think it's ready for review now, feel free to test it, welcome to help to improve. ### Before  ### After  Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
parent
c34f7cdb1a
commit
7c180ff8eb
7 changed files with 33 additions and 38 deletions
|
@ -548,18 +548,9 @@ export function initRepoPullRequestReview() {
|
|||
ntr = $(`
|
||||
<tr class="add-comment" data-line-type="${lineType}">
|
||||
${isSplit ? `
|
||||
<td class="lines-num"></td>
|
||||
<td class="lines-escape"></td>
|
||||
<td class="lines-type-marker"></td>
|
||||
<td class="add-comment-left" colspan="4"></td>
|
||||
<td class="lines-num"></td>
|
||||
<td class="lines-escape"></td>
|
||||
<td class="lines-type-marker"></td>
|
||||
<td class="add-comment-right" colspan="4"></td>
|
||||
` : `
|
||||
<td class="lines-num"></td>
|
||||
<td class="lines-num"></td>
|
||||
<td class="lines-escape"></td>
|
||||
<td class="add-comment-left add-comment-right" colspan="5"></td>
|
||||
`}
|
||||
</tr>`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue