You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by bu...@apache.org on 2015/07/06 20:06:44 UTC

svn commit: r957257 - in /websites/staging/accumulo/trunk/content: ./ downloads/index.html

Author: buildbot
Date: Mon Jul  6 18:06:44 2015
New Revision: 957257

Log:
Staging update by buildbot for accumulo

Modified:
    websites/staging/accumulo/trunk/content/   (props changed)
    websites/staging/accumulo/trunk/content/downloads/index.html

Propchange: websites/staging/accumulo/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Jul  6 18:06:44 2015
@@ -1 +1 @@
-1689471
+1689472

Modified: websites/staging/accumulo/trunk/content/downloads/index.html
==============================================================================
--- websites/staging/accumulo/trunk/content/downloads/index.html (original)
+++ websites/staging/accumulo/trunk/content/downloads/index.html Mon Jul  6 18:06:44 2015
@@ -235,21 +235,19 @@ var gaCallback = function(event) {
   // $(this) != this
   var url = "http://accumulo.apache.org" + $(this).attr("id")
   if (newWin) {
-    if (ga.hasOwnProperty('loaded') && ga.loaded === true) {
-      ga('send', 'event', 'outbound', 'click', url, {'nonInteraction': 1});
-    }
+    ga('send', 'event', 'outbound', 'click', url, {'nonInteraction': 1});
     return true;
   } else {
-    if (ga.hasOwnProperty('loaded') && ga.loaded === true) {
-      ga('send', 'event', 'outbound', 'click', url, {'hitCallback': 
-      function () {window.location.href = hrefUrl;}}, {'nonInteraction': 1});
-    }
+    ga('send', 'event', 'outbound', 'click', url, {'hitCallback': 
+    function () {window.location.href = hrefUrl;}}, {'nonInteraction': 1});
     return false;
   }
 };
 
 $( document ).ready(function() {
-  $('.download_external').click(gaCallback);
+  if (ga.hasOwnProperty('loaded') && ga.loaded === true) {
+    $('.download_external').click(gaCallback);
+  }
 });
 
 var createSection = function(name, items, divider) {