Skip to content

Commit

Permalink
refactor(comments): remove redundant reference to disqus
Browse files Browse the repository at this point in the history
  • Loading branch information
talha131 committed Jul 30, 2019
1 parent e170d5f commit c7e5e22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/_includes/comments.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
data-disqus-identifier="{{ article.disqus_identifier }}"
{% endif %}
href="{{ SITEURL }}/{{ article.url }}#disqus_thread",
id="disqus-accordion-toggle">
id="comment-accordion-toggle">
Comments
</a>
</div>
Expand Down Expand Up @@ -73,7 +73,7 @@
</script>
<script>
$('#disqus_thread').on('shown', function () {
var link = document.getElementById('disqus-accordion-toggle');
var link = document.getElementById('comment-accordion-toggle');
var old_innerHTML = link.innerHTML;
$(link).fadeOut(500, function() {
$(this).text('Click here to hide comments').fadeIn(500);
Expand Down

0 comments on commit c7e5e22

Please sign in to comment.