Change disqus src to avoid mixed content warnings

Change the location of the disqus.com/count.js in
order to avoid mixed content warnings when serving
over SSL.
This commit is contained in:
Maarten Vermeyen 2016-10-29 23:22:13 +02:00
parent d5370358d2
commit 48413ad6ad

View file

@ -58,7 +58,7 @@
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = 'http://' + disqus_shortname + '.disqus.com/count.js';
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>