diff --git a/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/PipelineHeaderExtension/pipeline-column-headers.js b/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/PipelineHeaderExtension/pipeline-column-headers.js index 2d024927..c7fe10a4 100644 --- a/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/PipelineHeaderExtension/pipeline-column-headers.js +++ b/src/main/resources/au/com/centrumsystems/hudson/plugin/buildpipeline/extension/PipelineHeaderExtension/pipeline-column-headers.js @@ -1,4 +1,4 @@ -window.addEventListener("DOMContentLoaded", () => { +document.addEventListener("DOMContentLoaded", () => { const projectDataHolders = document.querySelectorAll(".ch-project-data-holder"); projectDataHolders.forEach(dataHolder => {