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:
authorStefan Giehl <stefan@piwik.org>2016-07-20 04:07:35 +0300
committerMatthieu Aubry <mattab@users.noreply.github.com>2016-07-20 04:07:35 +0300
commit023d80496bf3cc02a7f6141243e55e3fb262c647 (patch)
treeb6caabc679ff88137c97254b9228ecc210e44227 /js
parentdea6c1bdeee289c5ad65f0bd657dc0f4868beaa8 (diff)
fixes #10310 - use indexOf polyfill function to avoid errors in older IEs (#10327)
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 db331f7150..5d847d5ba8 100644
--- a/js/piwik.js
+++ b/js/piwik.js
@@ -3929,7 +3929,7 @@ if (typeof window.Piwik !== 'object') {
// custom dimensions
for (i in customDimensions) {
if (Object.prototype.hasOwnProperty.call(customDimensions, i)) {
- var isNotSetYet = (-1 === customDimensionIdsAlreadyHandled.indexOf(i));
+ var isNotSetYet = (-1 === indexOfArray(customDimensionIdsAlreadyHandled, i));
if (isNotSetYet) {
request += '&dimension' + i + '=' + customDimensions[i];
}