Skip to content

Commit

Permalink
remove unnecessary ID and rename target element. shows tooltip when h…
Browse files Browse the repository at this point in the history
…overing over params vs title.
  • Loading branch information
shlomomdahan committed Nov 11, 2024
1 parent 77936c3 commit 8834d9b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<div class="pipeline-info">
<div class="revision rounded">
<div class="title" id="build-parameters-trigger-${buildGrid.get(0,0).getId()}">Pipeline ${buildGrid.get(0,0).getRevision()}</div>
<div class="title">Pipeline ${buildGrid.get(0,0).getRevision()}</div>
<j:choose>
<j:when test="${buildGrid.get(0,0).getParameters().isEmpty()}">
<div class="description">No parameters</div>
Expand All @@ -22,7 +22,7 @@
</ul>
</div>
<script>
jQuery('#build-parameters-trigger-${buildGrid.get(0,0).getId()}').tooltip({
jQuery('#build-parameters-${buildGrid.get(0,0).getId()}').tooltip({
bodyHandler: function() {
return jQuery('#build-parameters-${buildGrid.get(0,0).getId()}').html();
}
Expand Down

0 comments on commit 8834d9b

Please sign in to comment.