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
Alan Orth 2015-02-07 00:58:25 +03:00
parent 4b1c26add1
commit a6bada6a1e
No known key found for this signature in database
GPG Key ID: 0FB860CC9C45B1B9
1 changed files with 3 additions and 3 deletions

View File

@ -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>