extermination
This commit is contained in:
@@ -60,9 +60,9 @@ if(isset($_GET['legacy']) && $_GET['legacy'] == "true") {
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
window.onload = function(){
|
window.onload = function(){
|
||||||
var player = document.getElementById('playersrc');
|
var playersrc = document.getElementById('playersrc');
|
||||||
player.onerror = function() {
|
playersrc.onerror = function() {
|
||||||
window.location="http://birdnetpi.local/views.php?view=Spectrogram&legacy=true";
|
window.location="views.php?view=Spectrogram&legacy=true";
|
||||||
};
|
};
|
||||||
|
|
||||||
// if user agent includes iPhone or Mac use legacy mode
|
// if user agent includes iPhone or Mac use legacy mode
|
||||||
|
|||||||
Reference in New Issue
Block a user