|
From: <hs...@us...> - 2011-10-05 17:43:54
|
Revision: 970
http://treebase.svn.sourceforge.net/treebase/?rev=970&view=rev
Author: hshyket
Date: 2011-10-05 17:43:48 +0000 (Wed, 05 Oct 2011)
Log Message:
-----------
Modified Paths:
--------------
trunk/treebase-web/src/main/webapp/scripts/googleAnalytics.js
Modified: trunk/treebase-web/src/main/webapp/scripts/googleAnalytics.js
===================================================================
--- trunk/treebase-web/src/main/webapp/scripts/googleAnalytics.js 2011-10-05 16:56:12 UTC (rev 969)
+++ trunk/treebase-web/src/main/webapp/scripts/googleAnalytics.js 2011-10-05 17:43:48 UTC (rev 970)
@@ -19,12 +19,11 @@
//protocol, host, hostname, port, pathname, search, hash
if (hrefs[l].protocol == "mailto:") {
startListening(hrefs[l],"click",trackMailto);
- //} else if (hrefs[l].hostname == location.host) {
} else if (hrefs[l].hostname == location.host) {
var path = hrefs[l].pathname + hrefs[l].search;
var pathFile = hrefs[l].pathname;
var isDoc = path.match(/\.(?:doc|eps|jpg|png|svg|xls|ppt|pdf|xls|zip|txt|vsd|vxd|js|css|rar|exe|wma|mov|avi|wmv|mp3|nex)($|\&|\?)/);
- var isDownload = pathFile.match(/(?:downloadATree|downloadANexusFile|downloadAMatrix|downloadANexusFile|downloadAnAnalysisStep)/);
+ var isDownload = pathFile.match(/(?:downloadATree|downloadANexusFile|downloadAMatrix|downloadAnAnalysisStep)/);
if (isDoc || isDownload) {
startListening(hrefs[l],"click",trackDownloads);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|