Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix(desc-diff): inerting position
  • Loading branch information
h13i32maru committed Sep 2, 2018
1 parent 7206890 commit 2cb49e6
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -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);
})();

0 comments on commit 2cb49e6

Please sign in to comment.