diff --git a/layouts/partials/disqus-js-common.js b/layouts/partials/disqus-js-common.js index e709807..1d69d8d 100644 --- a/layouts/partials/disqus-js-common.js +++ b/layouts/partials/disqus-js-common.js @@ -1,6 +1,6 @@ // Remove button var disqusButton = document.getElementById('disqus-button'); -disqusButton.remove(); +disqusButton.parentNode.removeChild(disqusButton); // Un-hide comments var disqusComments = document.getElementById('disqus-comments'); disqusComments.style.display = 'block'; \ No newline at end of file