]> granicus.if.org Git - apache/commitdiff
Retesting with support for both http/https discussions, as per igalic's suggestion
authorDaniel Gruno <humbedooh@apache.org>
Mon, 7 May 2012 12:53:15 +0000 (12:53 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Mon, 7 May 2012 12:53:15 +0000 (12:53 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1334988 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/rewrite/remapping.html.en

index 96d3a44b999812b91f76af1a38a190ebddcf6763..e6d65e379d95ffa395d56cc4e42f3c42c19fa0b7 100644 (file)
@@ -651,7 +651,7 @@ var disqus_identifier = window.location.href.replace(/(current|trunk)/, "2.4").r
 if (disqus_identifier.indexOf("httpd.apache.org") != -1) {
     (function() {
                 var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
-                dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
+                dsq.src = window.location.protocol + '//' + disqus_shortname + '.disqus.com/embed.js';
             (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
         })();
 } else {