Commit 8e558595 authored by Jonas Haraldsson's avatar Jonas Haraldsson

move js block to player.tpl

parent 7717bd96
......@@ -11,15 +11,6 @@
{if $streamable}
<div id='player-container'>
{include file='player.tpl'}
<script type="text/javascript">
$(document).ready(function() {ldelim}
{if isset($this_user)}
playerInit(false, "{$this_user->getScrobbleSession()}", "{$this_user->getWebServiceSession()}", "{$radio_session}");
{else}
playerInit(false, false, false, "{$radio_session}");
{/if}
{rdelim});
</script>
</div>
{/if}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment