mirror of
https://github.com/davedoesdev/streamana.git
synced 2025-12-24 13:28:19 +08:00
Reset toggle state if url is empty
This commit is contained in:
@@ -23,6 +23,7 @@ let hls_worker;
|
||||
async function start() {
|
||||
const ingestion_url = ingestion_url_el.value.trim();
|
||||
if (!ingestion_url) {
|
||||
go_live_el.checked = false;
|
||||
return;
|
||||
}
|
||||
localStorage.setItem('streamana-example-ingestion-url', ingestion_url);
|
||||
|
||||
Reference in New Issue
Block a user