infidel-cupper-theme/layouts/partials/disqus-js-common.js
2022-04-10 15:20:41 +07: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';