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:
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 75f9c9dbeb..cca08b968a 100644
--- a/js/piwik.js
+++ b/js/piwik.js
@@ -45,7 +45,7 @@
// methods in a closure to avoid creating global variables.
if (typeof JSON2 !== 'object') {
- JSON2 = {};
+ JSON2 = window.JSON || {};
}
(function () {