diff --git a/server/djrandom/frontend/static/js/djr/player.js b/server/djrandom/frontend/static/js/djr/player.js index 6900a126b4302ea823016d7841386a1a1613585c..fc5d2011cd4cab759fb146accc5ed4b736bdeeff 100644 --- a/server/djrandom/frontend/static/js/djr/player.js +++ b/server/djrandom/frontend/static/js/djr/player.js @@ -310,7 +310,7 @@ djr.init = function () { djr.state.player.mostPlayedPlaylist(25); }); - $('#wikiDiv').click(function () { + $('#wikibtn').click(function () { var stitle = $('#song_' + djr.state.player.cur_song + ' .title').text(); if ( $('#wikipedia').display == 'none' ) { if ( stitle != "" ) { @@ -323,7 +323,7 @@ djr.init = function () { $('#wikipedia').attr('display', 'none' ); } }); - $('#googleDiv').click(function () { + $('#googlebtn').click(function () { var stitle = $('#song_' + djr.state.player.cur_song + ' .title').text(); if ( $('#google').display == 'none' ) { if ( stitle != "" ) { diff --git a/server/djrandom/frontend/templates/index.html b/server/djrandom/frontend/templates/index.html index 024daa95a4c63206639897df1768230af70b974b..1f0362708a41d9a0a20757b96ff39d6fcbc28047 100644 --- a/server/djrandom/frontend/templates/index.html +++ b/server/djrandom/frontend/templates/index.html @@ -75,13 +75,13 @@ DJ:Random </div> <div id="jp_info" class="jp_info" > <div id="wikiDiv" class="song" > - <div id="wikibtn" >Wikipedia Info</div> + <a id="wikibtn">Wikipedia Info</a> <iframe id="wikipedia" width="100%" height="300" style="display: none" > <p>Your browser does not support iframes.</p> </iframe> </div> <div id="googleDiv" class="song" > - <div id="googlebtn" >Google Info</div> + <a id="googlebtn">Google Info</a> <iframe id="google" width="100%" height="300" style="display: none" > <p>Your browser does not support iframes.</p> </iframe>