diff --git a/js/main.js b/js/main.js index ad13564..64b7d43 100644 --- a/js/main.js +++ b/js/main.js @@ -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);