cupper-hugo-theme/layouts/partials/disqus-js-common.js
2019-03-08 12:09:32 -06:00

6 lines
255 B
JavaScript

// Remove button
var disqusButton = document.getElementById('disqus-button');
disqusButton.parentNode.removeChild(disqusButton);
// Un-hide comments
var disqusComments = document.getElementById('disqus-comments');
disqusComments.style.display = 'block';