IE friendly remove method
This commit is contained in:
parent
04e7d5a003
commit
5a35ac0fc2
|
@ -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';
|
Loading…
Reference in New Issue
Block a user