diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2020-07-31 07:07:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-31 07:07:07 +0300 |
commit | b93ae1f5b35be6e1745975461d5425cac0c07d10 (patch) | |
tree | 7a963714a02dc1419f84f06334ca2e9c8eb16ddd /plugins/Overlay | |
parent | 0f77746bab0ae351fd890a139bc032d33e400a4a (diff) |
Remove no longer needed/used heartbeat code (#16253)
* Remove no longer needed/used heartbeat code
Noticed `heartBeatUp` was actually no longer called since we refactored the heartbeat timer so this code should be possible to be removed
* rebuilt piwik.js
* Update startOverlaySession.twig
Diffstat (limited to 'plugins/Overlay')
-rw-r--r-- | plugins/Overlay/templates/startOverlaySession.twig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Overlay/templates/startOverlaySession.twig b/plugins/Overlay/templates/startOverlaySession.twig index 995dd78020..d99dc5f6fb 100644 --- a/plugins/Overlay/templates/startOverlaySession.twig +++ b/plugins/Overlay/templates/startOverlaySession.twig @@ -20,7 +20,7 @@ for (var i = 0; i < knownUrls.length; i++) { parser.href = knownUrls[i]; var testHost = parser.hostname; - if (hostToRedirect == testHost) { + if (hostToRedirect === testHost && testHost) { match = true; if (navigator.appName == "Microsoft Internet Explorer") { // internet explorer loses the referrer if we use window.location.href=X @@ -46,4 +46,4 @@ window.location.href = handleProtocol("{{ mainUrl|e('js') }}"); }; </script> -</body></html>
\ No newline at end of file +</body></html> |