diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/p.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/p.html b/templates/p.html index b595377..8f7557f 100644 --- a/templates/p.html +++ b/templates/p.html @@ -23,7 +23,7 @@ </header> <article> {{range .Songs}} - <section class="song"> + <section class="song" id="{{.Yid}}"> <div class="info"> <a href="http://www.youtube.com/watch?v={{.Yid}}">{{.Title}}</a> </div> @@ -35,7 +35,7 @@ <div class="thumb"> <img src="http://i.ytimg.com/vi/{{.Yid}}/1.jpg" alt="{{.Yid}}"> </div> - <canvas id="{{.Yid}}" width="700" height="20"></canvas> + <canvas id="c_{{.Yid}}" width="700" height="20"></canvas> <br> <img src="/static/player_play.png" alt="Play" onclick="play('{{.Yid}}')" id="play_{{.Yid}}"> <img src="/static/player_pause.png" alt="Pause" onclick="pause('{{.Yid}}')" id="pause_{{.Yid}}"> |