summaryrefslogtreecommitdiffstats
path: root/docs/manual
diff options
context:
space:
mode:
authorDaniel Gruno <humbedooh@apache.org>2012-05-08 17:20:07 +0200
committerDaniel Gruno <humbedooh@apache.org>2012-05-08 17:20:07 +0200
commit4ed4fb7032bae39a1d2da5208312978ead89e40a (patch)
tree0ffc5cd621f465f1e2844aba8522d69206640de3 /docs/manual
parentplaceholder for disqus thread is now created using javascript. (diff)
downloadapache2-4ed4fb7032bae39a1d2da5208312978ead89e40a.tar.xz
apache2-4ed4fb7032bae39a1d2da5208312978ead89e40a.zip
Add something between <div> and </div> so the same thing doesn't happen again. bleh.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1335581 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual')
-rw-r--r--docs/manual/style/xsl/common.xsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/manual/style/xsl/common.xsl b/docs/manual/style/xsl/common.xsl
index 35de2f007d..546482ed0f 100644
--- a/docs/manual/style/xsl/common.xsl
+++ b/docs/manual/style/xsl/common.xsl
@@ -299,8 +299,8 @@ to last beyond the testing phase of this system, nor do we in any way guarantee
var lang = '<xsl:value-of select="$doclang"/>';
var disqus_shortname = 'httpd';
var disqus_identifier = window.location.href.replace(/(current|trunk)/, "2.4").replace(/\/[a-z]{2}\//, "/").replace(window.location.protocol, "http:") + '.' + lang;
-if (disqus_identifier.indexOf("httpd.apache.org") != -1) {
- document.write('<div id="disqus_thread"></div>');
+if (disqus_identifier.indexOf("httpd.apache.org") == -1) {
+ document.write('<div id="disqus_thread">\n</div>');
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = window.location.protocol + '//' + disqus_shortname + '.disqus.com/embed.js';