Fix custom image displaying when its not set
Co-Authored-By: lloydbayley <21309308+lloydbayley@users.noreply.github.com>
This commit is contained in:
@@ -461,7 +461,7 @@ window.setInterval(function(){
|
|||||||
document.getElementById("spectrogramimage").src = "/spectrogram.png?nocache="+Date.now();
|
document.getElementById("spectrogramimage").src = "/spectrogram.png?nocache="+Date.now();
|
||||||
}, <?php echo $refresh; ?>*1000);
|
}, <?php echo $refresh; ?>*1000);
|
||||||
|
|
||||||
<?php if(isset($config["CUSTOM_IMAGE"])){?>
|
<?php if(isset($config["CUSTOM_IMAGE"]) && strlen($config["CUSTOM_IMAGE"]) > 2){?>
|
||||||
// every 1 second, this loop will run and refresh the custom image
|
// every 1 second, this loop will run and refresh the custom image
|
||||||
window.setInterval(function(){
|
window.setInterval(function(){
|
||||||
// Find the customimage element
|
// Find the customimage element
|
||||||
|
|||||||
Reference in New Issue
Block a user