diff --git a/pagure/templates/pull_request.html b/pagure/templates/pull_request.html index 25771e4..a6f2891 100644 --- a/pagure/templates/pull_request.html +++ b/pagure/templates/pull_request.html @@ -535,7 +535,7 @@ {{ comment.date_created | humanize }} - (Show) + (Hide)
{{ comment.comment }}
@@ -966,13 +966,13 @@ function show_merge_status(){ $(document).ready(function() { - $(".inline-comments").hide(); + $(".inline-comments").show(); $( ".inline-btn" ).click(function() { var msgid = $( this ).attr('data-id'); - if ($( this ).html() == 'Show') { - $( this ).html('Hide'); - } else { + if ($( this ).html() == 'Hide') { $( this ).html('Show'); + } else { + $( this ).html('Hide'); } $( '#inline-comment-' + msgid).toggle(); });