diff options
author | Simon Knox <simon@gitlab.com> | 2018-04-20 07:47:08 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-04-20 07:47:08 +0000 |
commit | 3dc8ad277daf237b1abae1398fada18d751656df (patch) | |
tree | c1c20b9eac14483d3d0e6019d7126bcc1efbe049 /app/assets/javascripts/notes.js | |
parent | 1999ed709363fb9b9f216c1052edbb91bdabcff1 (diff) | |
download | gitlab-ce-3dc8ad277daf237b1abae1398fada18d751656df.tar.gz |
Resolve "Text from the diff is showing within a table header inside the discussion after the discussion is resolved"
Diffstat (limited to 'app/assets/javascripts/notes.js')
-rw-r--r-- | app/assets/javascripts/notes.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/notes.js b/app/assets/javascripts/notes.js index 2121907dff0..96f2b3eac98 100644 --- a/app/assets/javascripts/notes.js +++ b/app/assets/javascripts/notes.js @@ -1427,7 +1427,7 @@ export default class Notes { const { discussion_html } = data; const lines = $(discussion_html).find('.line_holder'); lines.addClass('fade-in'); - $container.find('tbody').prepend(lines); + $container.find('.diff-content > table > tbody').prepend(lines); const fileHolder = $container.find('.file-holder'); $container.find('.line-holder-placeholder').remove(); syntaxHighlight(fileHolder); |