diff --git a/src/main/twirl/gitbucket/core/helper/diff.scala.html b/src/main/twirl/gitbucket/core/helper/diff.scala.html index ca7b958..441884e 100644 --- a/src/main/twirl/gitbucket/core/helper/diff.scala.html +++ b/src/main/twirl/gitbucket/core/helper/diff.scala.html @@ -160,7 +160,7 @@ return $(''); } if (typeof $('#show-notes')[0] !== 'undefined' && !$('#show-notes')[0].checked) { - $('.inline-comment').hide(); + $('#comment-list').children('.inline-comment').hide(); } $('.diff-outside').on('click','table.diff .add-comment',function() { var $this = $(this),