diff options
author | diosmosis <diosmosis@users.noreply.github.com> | 2020-01-06 05:09:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-06 05:09:18 +0300 |
commit | 5ae8668181ff6e622a290df6321c006ef30284e1 (patch) | |
tree | 88e9c9fe0587313613cc28758ff9e9e1efa5c941 /js/piwik.js | |
parent | 1abde17e3c829dc0e9a7bdc4b806b92fa6d9a840 (diff) |
hasConsent() is used in tracker so can't be a debug method (#15351)
Diffstat (limited to 'js/piwik.js')
-rw-r--r-- | js/piwik.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/piwik.js b/js/piwik.js index cd14b16c26..1b85a374ce 100644 --- a/js/piwik.js +++ b/js/piwik.js @@ -5875,11 +5875,11 @@ if (typeof window.Piwik !== 'object') { this.unsetPageIsUnloading = function () { isPageUnloading = false; }; + this.getRemainingVisitorCookieTimeout = getRemainingVisitorCookieTimeout; + /*</DEBUG>*/ this.hasConsent = function () { return configHasConsent; }; - this.getRemainingVisitorCookieTimeout = getRemainingVisitorCookieTimeout; - /*</DEBUG>*/ /** * Get visitor ID (from first party cookie) |