From 5ef1a5e7355c1841953a1a95d40887b8e72fcc97 Mon Sep 17 00:00:00 2001 From: Pecusx Date: Tue, 22 May 2018 18:37:21 +0200 Subject: [PATCH] No reload web player after change source. --- html/index.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/html/index.php b/html/index.php index 0415018..62644a2 100644 --- a/html/index.php +++ b/html/index.php @@ -128,21 +128,12 @@ echo "PiRadio v. ".$piradio_version.""; }); $("#RADIObutton").click(function() { $.post("button.php?key=KEY_RADIO"); - setTimeout(function(){ - $("#player").load("player.php"); - }, 4000); }); $("#MEDIAbutton").click(function() { $.post("button.php?key=KEY_MEDIA"); - setTimeout(function(){ - $("#player").load("player.php"); - }, 5500); }); $("#PANDORAbutton").click(function() { $.post("button.php?key=KEY_PANDORA"); - setTimeout(function(){ - $("#player").load("player.php"); - }, 5500); }); $("#STREAMTbutton").click(function() { $.post("button.php?key=STREAMING_TOGGLE");