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:
authorPeter Zhang <peter@innocraft.com>2022-08-16 12:30:45 +0300
committerGitHub <noreply@github.com>2022-08-16 12:30:45 +0300
commit2c63f2726077b57275ee0d74a1f0c9ac2a147529 (patch)
tree203990338e3bc285fb2aa3743bb05f201ee93131 /js/piwik.js
parent4911a83c32548f9eed592606a24fa842458e4a1c (diff)
[js]Update * to originHost (#19471)
* Update piwik.js update * to originHost * rebuilt piwik.js * rebuilt piwik.js * Update piwik.js update protocol * Update js/piwik.js Co-authored-by: Stefan Giehl <stefan@matomo.org> * update merge update merge * Delete piwik.min.js * Delete piwik.min.js Co-authored-by: peterhashair <peterhashair@users.noreply.github.com> Co-authored-by: Stefan Giehl <stefan@matomo.org>
Diffstat (limited to 'js/piwik.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 274d4ea4ac..1e8d17157e 100644
--- a/js/piwik.js
+++ b/js/piwik.js
@@ -7436,7 +7436,7 @@ if (typeof window.Matomo !== 'object') {
if (iframe.contentWindow && isDefined(iframe.contentWindow.postMessage) && iframeHost === originHost) {
var jsonMessage = JSON.stringify(postMessage);
- iframe.contentWindow.postMessage(jsonMessage, '*');
+ iframe.contentWindow.postMessage(jsonMessage, e.origin);
}
}
}