accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From els...@apache.org
Subject svn commit: r1631804 - /accumulo/site/trunk/content/downloads/index.mdtext
Date Tue, 14 Oct 2014 15:54:48 GMT
Author: elserj
Date: Tue Oct 14 15:54:48 2014
New Revision: 1631804

URL: http://svn.apache.org/r1631804
Log:
id is an attr on the jquery object, not a member like on the dom's "this"

Modified:
    accumulo/site/trunk/content/downloads/index.mdtext

Modified: accumulo/site/trunk/content/downloads/index.mdtext
URL: http://svn.apache.org/viewvc/accumulo/site/trunk/content/downloads/index.mdtext?rev=1631804&r1=1631803&r2=1631804&view=diff
==============================================================================
--- accumulo/site/trunk/content/downloads/index.mdtext (original)
+++ accumulo/site/trunk/content/downloads/index.mdtext Tue Oct 14 15:54:48 2014
@@ -28,7 +28,8 @@ var gaCallback = function(event) {
   if (event.ctrlKey || event.shiftKey || event.metaKey || event.which == 2) {
     var newWin = true;}
 
-  var url = "http://accumulo.apache.org" + $(this).id
+  // $(this) != this
+  var url = "http://accumulo.apache.org" + $(this).attr("id")
   if (newWin) {
     ga('send', 'event', 'outbound', 'click', url, {'nonInteraction': 1});
     return true;



Mime
View raw message