Skip to content

Commit 2cb49e6

Browse files
committed
fix(desc-diff): inerting position
1 parent 7206890 commit 2cb49e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Electron/Component/WebViewComponentInjection/show-diff-body.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,6 @@
4444
diffEl.appendChild(headerEl);
4545
diffEl.appendChild(diffContainerEl);
4646

47-
const refEl = document.querySelector('.timeline-comment-wrapper > .comment .timeline-comment-header + div');
48-
document.querySelector('.timeline-comment-wrapper > .comment').insertBefore(diffEl, refEl);
47+
const refEl = document.querySelector('.timeline-comment-wrapper > .timeline-comment-group > .comment > .edit-comment-hide');
48+
document.querySelector('.timeline-comment-wrapper > .timeline-comment-group > .comment').insertBefore(diffEl, refEl);
4949
})();

0 commit comments

Comments
 (0)