Skip to content

Commit

Permalink
Fix to get badges to show correctly on the cards
Browse files Browse the repository at this point in the history
  • Loading branch information
Swandog committed Nov 19, 2023
1 parent e3d9166 commit 143eae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trelloscrum.js
Original file line number Diff line number Diff line change
Expand Up @@ -634,7 +634,7 @@ function ListCard(el, identifier){
.text(that.points)
[(consumed?'add':'remove')+'Class']('consumed')
.attr({title: 'This card has '+that.points+ (consumed?' consumed':'')+' storypoint' + (that.points == 1 ? '.' : 's.')})
.prependTo($card.find('.badges'));
.prependTo($card.find("[data-testid='card-front-badges']"));

// Update the DOM element's textContent and data if there were changes.
if(titleTextContent != parsedTitle){
Expand Down

0 comments on commit 143eae8

Please sign in to comment.