Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
fix(desc-diff): inerting position
- Loading branch information
|
@@ -44,6 +44,6 @@ |
|
|
diffEl.appendChild(headerEl); |
|
|
diffEl.appendChild(diffContainerEl); |
|
|
|
|
|
const refEl = document.querySelector('.timeline-comment-wrapper > .comment .timeline-comment-header + div'); |
|
|
document.querySelector('.timeline-comment-wrapper > .comment').insertBefore(diffEl, refEl); |
|
|
const refEl = document.querySelector('.timeline-comment-wrapper > .timeline-comment-group > .comment > .edit-comment-hide'); |
|
|
document.querySelector('.timeline-comment-wrapper > .timeline-comment-group > .comment').insertBefore(diffEl, refEl); |
|
|
})(); |