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
diff options
context:
space:
mode:
authorStefan Giehl <stefan@matomo.org>2021-08-03 23:13:22 +0300
committerGitHub <noreply@github.com>2021-08-03 23:13:22 +0300
commit356ffefbb6e606c7f711b6aad06a47b0f575d568 (patch)
tree57e3c66e1e1936daf1b594887c26ea8a14529c5f /plugins/Transitions
parent8e1bee490a8c256ec4a2b3bdf3a87d4fd900040c (diff)
Fix transition popover for page titles (#17854)
Diffstat (limited to 'plugins/Transitions')
-rw-r--r--plugins/Transitions/javascripts/transitions.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/Transitions/javascripts/transitions.js b/plugins/Transitions/javascripts/transitions.js
index 7e517f70c0..5ac1472e69 100644
--- a/plugins/Transitions/javascripts/transitions.js
+++ b/plugins/Transitions/javascripts/transitions.js
@@ -603,7 +603,10 @@ Piwik_Transitions.prototype.renderOpenGroup = function (groupName, side, onlyBg)
} else {
onClick = (function (url) {
return function () {
- self.reloadPopover(url.replace(/^(?!http)/, 'http://'));
+ if (self.actionType == 'url') {
+ url = url.replace(/^(?!http)/, 'http://');
+ }
+ self.reloadPopover(url);
};
})(label);
}