From 9ff5536d9b8276c38074932e4c6eb38ec8ea495e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois-Xavier=20Thomas?= Date: Mon, 29 Apr 2019 23:48:34 +0200 Subject: [PATCH] Do not try to load radio playlists in the browser when clicking on a radio --- airsonic-main/src/main/webapp/WEB-INF/jsp/left.jsp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/airsonic-main/src/main/webapp/WEB-INF/jsp/left.jsp b/airsonic-main/src/main/webapp/WEB-INF/jsp/left.jsp index 5ca49ebb..fa218716 100644 --- a/airsonic-main/src/main/webapp/WEB-INF/jsp/left.jsp +++ b/airsonic-main/src/main/webapp/WEB-INF/jsp/left.jsp @@ -21,8 +21,9 @@ } } - $('.radio-play').on('click', function() { - top.playQueue.onPlayInternetRadio($(this).data("id"), 0); + $('.radio-play').on('click', function(evt) { + top.playQueue.onPlayInternetRadio($(this).data("id"), 0); + evt.preventDefault(); }); }