diff options
author | dataCobra <datacobra@mailbox.org> | 2019-12-18 13:56:00 +0300 |
---|---|---|
committer | dataCobra <datacobra@mailbox.org> | 2019-12-18 13:56:00 +0300 |
commit | 6a8eece7de6995a1a8e9a02db35426930cfcd359 (patch) | |
tree | 87d891052d517ddb433ef58a7964921fe437f3e4 | |
parent | 0611f193d6224455e5de1bd66a7b9bbbf15c9b87 (diff) |
Fix double ouput of 'comments powered by Disqus.'
If JavaScript is disabled in a web-browser, the message 'comments powered
by Disqus' is doubled.
This issue occurs because the output of the text is additionally appears in
the <noscript> area for JavaScript.
The text in the <noscript> area is deleted so that the Information
appears correct when JavaScript is disabled.
-rw-r--r-- | layouts/partials/disqus.html | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/layouts/partials/disqus.html b/layouts/partials/disqus.html index 8a829eb..48b5f42 100644 --- a/layouts/partials/disqus.html +++ b/layouts/partials/disqus.html @@ -12,6 +12,5 @@ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })(); </script> -<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by - Disqus.</a></noscript> +<noscript>Please enable JavaScript to view the </a></noscript> <a href="http://disqus.com/" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a> |