don't scroll top on station click
This commit is contained in:
parent
d895f70da8
commit
2d7c52e10b
@ -65,7 +65,8 @@ $(function(){
|
|||||||
/===============*/
|
/===============*/
|
||||||
|
|
||||||
/* Click on a radio station (table entry) and play it */
|
/* Click on a radio station (table entry) and play it */
|
||||||
$('body').on('click', '.filename', function() {
|
$('body').on('click', '.filename', function(e) {
|
||||||
|
e.preventDefault();
|
||||||
var stationid = $(this).parent().attr('data-id');
|
var stationid = $(this).parent().attr('data-id');
|
||||||
var stationname = $(this).parent().find('.nametext').text();
|
var stationname = $(this).parent().find('.nametext').text();
|
||||||
action_play(stationid);
|
action_play(stationid);
|
||||||
|
Loading…
Reference in New Issue
Block a user