Skip to content

Commit

Permalink
Merged 3.x-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
mattab committed Mar 22, 2018
1 parent 198f05e commit 51addf1
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
4 changes: 3 additions & 1 deletion js/piwik.js
Expand Up @@ -7141,7 +7141,9 @@ if (typeof window.Piwik !== 'object') {
apply(paq[iterator]);
delete paq[iterator];

if (appliedMethods[methodName] > 1) {
var isMethodCallableMultipleTimes = ["addTracker"];
if (appliedMethods[methodName] > 1
&& isMethodCallableMultipleTimes.indexOf(methodName) !== -1) {
logConsoleError('The method ' + methodName + ' is registered more than once in "_paq" variable. Only the last call has an effect. Please have a look at the multiple Piwik trackers documentation: https://developer.piwik.org/guides/tracking-javascript-guide#multiple-piwik-trackers');
}

Expand Down
14 changes: 7 additions & 7 deletions js/piwik.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 51addf1

Please sign in to comment.