tracking: fix typo

git-svn-id: https://svn.apache.org/repos/asf/couchdb/site@1639439 
13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/37662691
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/37662691
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/37662691

Branch: refs/heads/asf-site
Commit: 376626918c4b860d215466523a6b79294c5accdb
Parents: e4a49dc
Author: Robert Kowalski <[email protected]>
Authored: Thu Nov 13 18:39:45 2014 +0000
Committer: Robert Kowalski <[email protected]>
Committed: Thu Nov 13 18:39:45 2014 +0000

----------------------------------------------------------------------
 index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/37662691/index.html
----------------------------------------------------------------------
diff --git a/index.html b/index.html
index 67ae01a..4db5801 100644
--- a/index.html
+++ b/index.html
@@ -382,7 +382,7 @@ This fabulous linen texture was integrated into the site 
design.
   <script>
     $(document).ready(function () {
       $('.download-list').on('click', function (e) {
-        if (!attr('href')) {
+        if (!$(e.target).attr('href')) {
           return;
         }
         _gaq.push(['_trackEvent', 'Click', 'Download', 
$(e.target).attr('href')]);

Reply via email to