Skip to content

Commit

Permalink
js attachment_url
Browse files Browse the repository at this point in the history
  • Loading branch information
chrstinalin committed Sep 13, 2024
1 parent df10cb5 commit 68d5c3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static/js/zamboni/devhub.js
Original file line number Diff line number Diff line change
Expand Up @@ -602,9 +602,9 @@ function initVersions() {
date.attr('datetime', note['date']);
date.attr('title', note['date']);
clone.find('pre:contains("$comments")')[0].textContent = note['comments'];
if (note['attachment_link']) {
if (note['attachment_url']) {
clone.find('.review-entry-attachment').removeClass('hidden');
clone.find('.attachment_link').attr('href', note['attachment_link']);
clone.find('.attachment_url').attr('href', note['attachment_url']);
clone.find('.attachment_size')[0].textContent =
`(${note['attachment_size']})`;
}
Expand Down

0 comments on commit 68d5c3e

Please sign in to comment.