Skip to content

Commit

Permalink
specify pipeline wrapper - fixes onclick issues
Browse files Browse the repository at this point in the history
  • Loading branch information
shlomomdahan committed Nov 7, 2024
1 parent 78ebf29 commit d501ce5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
<st:include from="${from.getRowHeaders()}" it="${from}"
page="rowHeader.jelly"/>

<div class="pipeline">
<div class="pipeline main-pipeline-selector">
<table class="pipelines">
<tbody>
<j:forEach begin="${0}" end="${buildGrid.rows - 1}" indexVar="x">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@ const onclickElements = {
};

document.addEventListener("DOMContentLoaded", function () {
const parentElement = document.querySelector(".pipelines");
if (!parentElement) return;
const parentElement = document.querySelector(".main-pipeline-selector");

Object.entries(onclickElements).forEach(function(entry) {
const selector = entry[0];
Expand Down

0 comments on commit d501ce5

Please sign in to comment.