diff options
author | sgiehl <stefan@piwik.org> | 2015-04-19 01:16:29 +0300 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2015-04-19 01:16:29 +0300 |
commit | d9fd1c3f80271bb735c5e6afda68d99ec2f94fad (patch) | |
tree | 1abdcbc2b9efd92abec8c610b7e40dfe71cbcfdf /js | |
parent | bd820ec081d18ce5589483dba20c427902aedffe (diff) |
download attribute shouldn't count more than link class
Diffstat (limited to 'js')
-rw-r--r-- | js/piwik.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/piwik.js b/js/piwik.js index ba902e8e06..cbf7383189 100644 --- a/js/piwik.js +++ b/js/piwik.js @@ -3236,7 +3236,7 @@ if (typeof Piwik !== 'object') { // does file extension indicate that it is a download? downloadExtensionsPattern = new RegExp('\\.(' + configDownloadExtensions.join('|') + ')([?&#]|$)', 'i'); - if (!hasDownloadAttribute && linkPattern.test(className)) { + if (linkPattern.test(className)) { return 'link'; } |