cupper-hugo-theme/layouts/partials/disqus-js-common.js

6 lines
255 B
JavaScript
Raw Normal View History

// Remove button
var disqusButton = document.getElementById('disqus-button');
2019-03-08 19:09:32 +01:00
disqusButton.parentNode.removeChild(disqusButton);
// Un-hide comments
var disqusComments = document.getElementById('disqus-comments');
disqusComments.style.display = 'block';