Skip to content

Commit

Permalink
Merge pull request #212 from L-Sun/patch-1
Browse files Browse the repository at this point in the history
🐛Fix disqus comment disappear
  • Loading branch information
zutrinken authored Feb 16, 2022
2 parents 484b738 + c0c58d4 commit 371b433
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions post.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,11 @@
}
});
{{#if @custom.disqus_username}}
{{#if @custom.disqus_shortname}}
$('.post-comments').css({
'display': 'block'
});
var disqus = '{{@custom.disqus_username}}';
var disqus = '{{@custom.disqus_shortname}}';
$('#show-disqus').on('click', function() {
$.ajax({
type: "GET",
Expand Down

0 comments on commit 371b433

Please sign in to comment.