Skip to content

Commit

Permalink
fixes #24: Fixes pencil icon for new RM versions
Browse files Browse the repository at this point in the history
  • Loading branch information
rstefko committed Jun 22, 2023
1 parent dc74e08 commit 7c7df1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/javascripts/code_review.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ function setAddReviewButton(url, change_id, image_tag, is_readonly, is_diff, att

var th_html = th.innerHTML;

var line = th_html.match(/[0-9]+/);
var line = th_html.match(/[0-9]+/) ?? th.getAttribute('data-txt');
if (line == null) {
continue;
}
Expand Down

0 comments on commit 7c7df1b

Please sign in to comment.