From 7f6a551eb390bca3eb97849beb5a6d52e0f7c3ef Mon Sep 17 00:00:00 2001 From: Dominik Moritz Date: Wed, 24 Apr 2013 15:46:52 +0200 Subject: [PATCH] [#2] http:// -> // --- ckanext/disqus/templates/disqus-comments.html | 2 +- ckanext/disqus/templates/disqus-recent.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ckanext/disqus/templates/disqus-comments.html b/ckanext/disqus/templates/disqus-comments.html index ccf702d..8dec687 100644 --- a/ckanext/disqus/templates/disqus-comments.html +++ b/ckanext/disqus/templates/disqus-comments.html @@ -17,7 +17,7 @@

Comments

}; (function() { 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); })(); diff --git a/ckanext/disqus/templates/disqus-recent.html b/ckanext/disqus/templates/disqus-recent.html index 45201c9..f2d2a5d 100644 --- a/ckanext/disqus/templates/disqus-recent.html +++ b/ckanext/disqus/templates/disqus-recent.html @@ -7,7 +7,7 @@

Recent Comments

+ src="//${disqus_shortname}.disqus.com/recent_comments_widget.js?num_items=${disqus_num_comments}&hide_avatars=0&avatar_size=32&excerpt_length=200">