fix(dashcam): auto-hide import result bar after 10s
Co-authored-by: Copilot <[email protected]>
This commit is contained in:
@@ -47,6 +47,8 @@ function showImportResult(msg) {
|
||||
importStatusBar.hidden = true;
|
||||
importResult.textContent = msg;
|
||||
importResultBar.hidden = false;
|
||||
// Auto-hide result after 10s
|
||||
setTimeout(() => { importResultBar.hidden = true; }, 10000);
|
||||
}
|
||||
|
||||
function fetchJson(url, options) {
|
||||
|
||||
Reference in New Issue
Block a user