diff options
Diffstat (limited to 'plugins/Live/templates/index.twig')
-rw-r--r-- | plugins/Live/templates/index.twig | 5 |
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 }}, |