Permalink
Browse files

fix(desc-diff): inerting position

  • Loading branch information...
h13i32maru committed Sep 2, 2018
1 parent 7206890 commit 2cb49e6400ca381b2cc6dc4181a4fe295ed67846
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Electron/Component/WebViewComponentInjection/show-diff-body.js
@@ -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.