httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject svn commit: r1335581 - /httpd/httpd/trunk/docs/manual/style/xsl/common.xsl
Date Tue, 08 May 2012 15:20:08 GMT
Author: humbedooh
Date: Tue May  8 15:20:07 2012
New Revision: 1335581

URL: http://svn.apache.org/viewvc?rev=1335581&view=rev
Log:
Add something between <div> and </div> so the same thing doesn't happen again.
bleh.

Modified:
    httpd/httpd/trunk/docs/manual/style/xsl/common.xsl

Modified: httpd/httpd/trunk/docs/manual/style/xsl/common.xsl
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/style/xsl/common.xsl?rev=1335581&r1=1335580&r2=1335581&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/style/xsl/common.xsl (original)
+++ httpd/httpd/trunk/docs/manual/style/xsl/common.xsl Tue May  8 15:20:07 2012
@@ -299,8 +299,8 @@ to last beyond the testing phase of this
 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';



Mime
View raw message