aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic
diff options
context:
space:
mode:
authorParker Moore <parkrmoore@gmail.com>2013-10-09 21:23:44 -0700
committerParker Moore <parkrmoore@gmail.com>2013-10-09 21:23:44 -0700
commitc5141ef70d5c33269366d6cefcfc07ba6778d5e0 (patch)
tree136a501258d5809a743d12416b1068b98418b133 /.themes/classic
parentff71657c432e2beb2f540617e4cc264c42e22cee (diff)
parentf11df1b6acd447893650e42e017b9261d1531a25 (diff)
downloadmy_new_personal_website-c5141ef70d5c33269366d6cefcfc07ba6778d5e0.tar.xz
my_new_personal_website-c5141ef70d5c33269366d6cefcfc07ba6778d5e0.zip
Merge pull request #1390 from pfista/master
Use a protocol-relative url to load disqus over https or http
Diffstat (limited to '')
-rw-r--r--.themes/classic/source/_includes/disqus.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/.themes/classic/source/_includes/disqus.html b/.themes/classic/source/_includes/disqus.html
index 549ba3d7..49c6a29c 100644
--- a/.themes/classic/source/_includes/disqus.html
+++ b/.themes/classic/source/_includes/disqus.html
@@ -14,7 +14,7 @@
{% endif %}
(function () {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + disqus_shortname + '.disqus.com/' + disqus_script;
+ dsq.src = '//' + disqus_shortname + '.disqus.com/' + disqus_script;
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
}());
</script>