don't scroll top on station click

This commit is contained in:
Jonas Heinrich 2018-08-07 17:00:10 +02:00
parent d895f70da8
commit 2d7c52e10b

View File

@ -65,7 +65,8 @@ $(function(){
/===============*/
/* 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 stationname = $(this).parent().find('.nametext').text();
action_play(stationid);