Merge pull request #2042 from kazuki43zoo/keep-showing-fold-comment

Keep showing a fold comment when tasklist is not complete
This commit is contained in:
Naoki Takezoe
2018-06-11 09:09:51 +09:00
committed by GitHub

View File

@@ -19,3 +19,14 @@
</div>
</div>
</div>
@if(!latestCommitId.contains(comments.comments.head.commitId)) {
<script>
$(function(){
var foldComments = $('.fold-comments-@comments.comments.head.commentId');
if(foldComments.find('input:checkbox:not(:checked)').length > 0){
foldComments.show();
}
});
</script>
}