Update Disqus JS embed to use HTTPS
We moved to HTTPS on the blog so we need to be loading JS resources over HTTPS as well or else we get mixed-content errors in browsers. Signed-off-by: Alan Orth <alan.orth@gmail.com>main
parent
4b1c26add1
commit
a6bada6a1e
|
@ -6,18 +6,18 @@
|
|||
var dsq = document.createElement('script');
|
||||
dsq.type = 'text/javascript';
|
||||
dsq.async = true;
|
||||
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
|
||||
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
||||
(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={{ DISQUS_SITENAME }}">
|
||||
<a href="https://disqus.com/?ref_noscript={{ DISQUS_SITENAME }}">
|
||||
comments powered by Disqus.
|
||||
</a>
|
||||
</noscript>
|
||||
<a href="http://disqus.com" class="dsq-brlink">
|
||||
<a href="https://disqus.com" class="dsq-brlink">
|
||||
blog comments powered by <span class="logo-disqus">Disqus</span>
|
||||
</a>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue