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
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Live/templates/index.twig')
-rw-r--r--plugins/Live/templates/index.twig5
1 files changed, 4 insertions, 1 deletions
diff --git a/plugins/Live/templates/index.twig b/plugins/Live/templates/index.twig
index b0a9382b65..bf2ccbeedb 100644
--- a/plugins/Live/templates/index.twig
+++ b/plugins/Live/templates/index.twig
@@ -1,6 +1,9 @@
<script type="text/javascript" charset="utf-8">
$(document).ready(function () {
- var segment = broadcast.getValueFromUrl('segment');
+ var segment = broadcast.getValueFromHash('segment');
+ if (!segment) {
+ segment = broadcast.getValueFromUrl('segment');
+ }
$('#visitsLive').liveWidget({
interval: {{ liveRefreshAfterMs }},