infidel-cupper-theme/layouts/partials/disqus-js-common.js
2022-11-14 23:16:26 +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';