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:
authorer314 <guix314@free.fr>2016-05-23 00:56:05 +0300
committerThomas Steur <tsteur@users.noreply.github.com>2016-05-23 00:56:05 +0300
commit0a29b343637f624c764233f2daf2cf4e5f86ebd1 (patch)
tree921d8c81e97cf21d2658a7ba6fa8ca54773b2393 /js
parentbd84cee4bfe5ace495e7a887c3cff7000ee31756 (diff)
Update piwik.js (#10170)
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 d7d24dcc1e..47788b05a2 100644
--- a/js/piwik.js
+++ b/js/piwik.js
@@ -3191,7 +3191,7 @@ if (typeof window.Piwik !== 'object') {
if (this.readyState === 4 && !(this.status >= 200 && this.status < 300) && fallbackToGet) {
getImage(request, callback);
} else {
- if (typeof callback === 'function') { callback(); }
+ if (this.readyState === 4 && (typeof callback === 'function')) { callback(); }
}
};