Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorsgiehl <stefan@piwik.org>2015-04-19 01:16:29 +0300
committersgiehl <stefan@piwik.org>2015-04-19 01:16:29 +0300
commitd9fd1c3f80271bb735c5e6afda68d99ec2f94fad (patch)
tree1abdcbc2b9efd92abec8c610b7e40dfe71cbcfdf /js
parentbd820ec081d18ce5589483dba20c427902aedffe (diff)
download attribute shouldn't count more than link class
Diffstat (limited to 'js')
-rw-r--r--js/piwik.js2
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';
}