Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Commit

Permalink
fix lookup for insertion
Browse files Browse the repository at this point in the history
something has been changed in the HTML.  The lookup for the target element to insert the approvers was failing.
This has been fixed with this commit.
  • Loading branch information
StilgarBF authored Jul 14, 2017
1 parent 2152246 commit cf50ae3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions show-approvals-at merge-requests.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
jQuery.ajax({
url : apiUrl,
success : function(data){
let iconTarget = $mergeR.find('.title .controls');
let iconTarget = $mergeR.find('.controls');
iconTarget.append('<li style="max-height: 20px;overflow-y: hidden;"><div class="approvers-list" style="display:flex"></div></li>');
iconTarget = iconTarget.find('.approvers-list');

Expand All @@ -54,4 +54,4 @@
}
});
});
})();
})();

0 comments on commit cf50ae3

Please sign in to comment.