diff --git a/app/templates/jobs/job.html.j2 b/app/templates/jobs/job.html.j2 index 62de7cb0..77ea9a5d 100644 --- a/app/templates/jobs/job.html.j2 +++ b/app/templates/jobs/job.html.j2 @@ -233,7 +233,6 @@ ` ); } - M.Collapsible.getInstance(document.getElementById("job-list")).open(1); } setStatus(status) { @@ -241,6 +240,7 @@ if (status === "complete") { progressIndicator = document.getElementById("progress-indicator"); progressIndicator.classList.add("hide"); + M.Collapsible.getInstance(document.getElementById("job-list")).open(1); } statusElement = document.getElementById("status"); statusElement.dataset.status = status;