mirror of
https://github.com/gitbucket/gitbucket.git
synced 2026-01-06 15:42:20 +01:00
Keep showing a fold comment when tasklist is not complete
This commit is contained in:
@@ -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>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user