diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/piwik.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/js/piwik.js b/js/piwik.js index e7e4df7540..15e09d11fe 100644 --- a/js/piwik.js +++ b/js/piwik.js @@ -500,6 +500,14 @@ if (typeof window.Matomo !== 'object') { isPageUnloading = true; executePluginMethod('unload'); + + now = new Date(); + var aliasTime = now.getTimeAlias(); + if( (expireDateTime - aliasTime) > 3000) // fix bug #12108 + { + expireDateTime = aliasTime + 3000; + } + /* * Delay/pause (blocks UI) */ |