accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubb...@apache.org
Subject svn commit: r1689463 - /accumulo/site/trunk/templates/skeleton.html
Date Mon, 06 Jul 2015 17:31:37 GMT
Author: ctubbsii
Date: Mon Jul  6 17:31:37 2015
New Revision: 1689463

URL: http://svn.apache.org/r1689463
Log:
ACCUMULO-3932 Fix broken download links

* Fix download links when google-analytics is blocked by a browser plugin.


Modified:
    accumulo/site/trunk/templates/skeleton.html

Modified: accumulo/site/trunk/templates/skeleton.html
URL: http://svn.apache.org/viewvc/accumulo/site/trunk/templates/skeleton.html?rev=1689463&r1=1689462&r2=1689463&view=diff
==============================================================================
--- accumulo/site/trunk/templates/skeleton.html (original)
+++ accumulo/site/trunk/templates/skeleton.html Mon Jul  6 17:31:37 2015
@@ -42,8 +42,10 @@
   m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
   })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
 
+  if (ga.hasOwnProperty('loaded') && ga.loaded === true) {
   ga('create', 'UA-50934829-1', 'apache.org');
   ga('send', 'pageview');
+  }
 
 </script>
 



Mime
View raw message