diff options
Diffstat (limited to 'plugins/Overlay/templates/index_noframe.tpl')
-rw-r--r-- | plugins/Overlay/templates/index_noframe.tpl | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/plugins/Overlay/templates/index_noframe.tpl b/plugins/Overlay/templates/index_noframe.tpl index 0897f7cd9c..af2d08ab3d 100644 --- a/plugins/Overlay/templates/index_noframe.tpl +++ b/plugins/Overlay/templates/index_noframe.tpl @@ -2,23 +2,23 @@ <h1>{'Overlay_Overlay'|translate|escape:'html'}</h1> <div id="Overlay_NoFrame"> - - <script type="text/javascript"> - var newLocation = 'index.php?module=Overlay&action=startOverlaySession&idsite={$idSite}&period={$period}&date={$date}'; - - {literal} - - var locationParts = window.location.href.split('#'); - if (locationParts.length > 1) { - var url = broadcast.getParamValue('l', locationParts[1]); - url = Overlay_Helper.decodeFrameUrl(url); - newLocation += '#' + url; + + <script type="text/javascript"> + var newLocation = 'index.php?module=Overlay&action=startOverlaySession&idsite={$idSite}&period={$period}&date={$date}'; + + {literal} + + var locationParts = window.location.href.split('#'); + if (locationParts.length > 1) { + var url = broadcast.getParamValue('l', locationParts[1]); + url = Overlay_Helper.decodeFrameUrl(url); + newLocation += '#' + url; } - - window.location.href = newLocation; - - {/literal} - </script> + + window.location.href = newLocation; + + {/literal} + </script> </div> |