From 1747773634af3ea4b172522d3370b558e212e0bc Mon Sep 17 00:00:00 2001 From: Ryan Lerch Date: Aug 20 2018 05:06:04 +0000 Subject: remove unused inline-comments and inline-buttons classes from CSS & JS --- diff --git a/pagure/static/pagure.css b/pagure/static/pagure.css index 65c7b7f..f90fd41 100644 --- a/pagure/static/pagure.css +++ b/pagure/static/pagure.css @@ -240,17 +240,6 @@ pre.softwrap word-wrap: break-word; } -.inline-comments { - padding: 1rem 1rem; - background-color: white; - text-indent:4px; - border-radius: 0.25rem 0.25rem 0 0; -} - -.inline-btn { - cursor: pointer; -} - blockquote { background: #f3f5f6; color: #586e75; diff --git a/pagure/templates/repo_pull_request.html b/pagure/templates/repo_pull_request.html index 75466df..6fbcfcb 100644 --- a/pagure/templates/repo_pull_request.html +++ b/pagure/templates/repo_pull_request.html @@ -862,17 +862,6 @@ function show_merge_status(){ $(document).ready(function() { - $(".inline-comments").show(); - $( ".inline-btn" ).click(function() { - var msgid = $( this ).attr('data-id'); - if ($( this ).html() == 'Hide') { - $( this ).html('Show'); - } else { - $( this ).html('Hide'); - } - $( '#inline-comment-' + msgid).toggle(); - }); - $( ".commit_msg_txt" ).hide(); $( ".commit_msg_btn" ).click(function() { var msgid = $( this ).attr('data-id');