mirror of
https://github.com/Pecusx/piradio-mini.git
synced 2026-05-20 22:33:44 +02:00
No reload web player after change source.
This commit is contained in:
@@ -128,21 +128,12 @@ echo "<b>PiRadio v. ".$piradio_version."</b>";
|
|||||||
});
|
});
|
||||||
$("#RADIObutton").click(function() {
|
$("#RADIObutton").click(function() {
|
||||||
$.post("button.php?key=KEY_RADIO");
|
$.post("button.php?key=KEY_RADIO");
|
||||||
setTimeout(function(){
|
|
||||||
$("#player").load("player.php");
|
|
||||||
}, 4000);
|
|
||||||
});
|
});
|
||||||
$("#MEDIAbutton").click(function() {
|
$("#MEDIAbutton").click(function() {
|
||||||
$.post("button.php?key=KEY_MEDIA");
|
$.post("button.php?key=KEY_MEDIA");
|
||||||
setTimeout(function(){
|
|
||||||
$("#player").load("player.php");
|
|
||||||
}, 5500);
|
|
||||||
});
|
});
|
||||||
$("#PANDORAbutton").click(function() {
|
$("#PANDORAbutton").click(function() {
|
||||||
$.post("button.php?key=KEY_PANDORA");
|
$.post("button.php?key=KEY_PANDORA");
|
||||||
setTimeout(function(){
|
|
||||||
$("#player").load("player.php");
|
|
||||||
}, 5500);
|
|
||||||
});
|
});
|
||||||
$("#STREAMTbutton").click(function() {
|
$("#STREAMTbutton").click(function() {
|
||||||
$.post("button.php?key=STREAMING_TOGGLE");
|
$.post("button.php?key=STREAMING_TOGGLE");
|
||||||
|
|||||||
Reference in New Issue
Block a user