diff --git a/web/static/js/index.js b/web/static/js/index.js index a831f02..3e54b2e 100644 --- a/web/static/js/index.js +++ b/web/static/js/index.js @@ -4,6 +4,13 @@ function init() { $('body').tooltip({ selector: '[data-bs-toggle="tooltip"]' }); + + const params = new URLSearchParams(window.location.search); + const buildId = params.get("build_id"); + if (buildId) { + launchLogModal(buildId); + autoDownloadIntervalId = setInterval(tryAutoDownload, 5000, buildId); + } } function refresh_builds() { diff --git a/web/templates/add_build.html b/web/templates/add_build.html index ba792b0..6c97488 100644 --- a/web/templates/add_build.html +++ b/web/templates/add_build.html @@ -123,12 +123,6 @@