diff options
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 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 () { |