Skip to content

Commit

Permalink
add leave feedback button
Browse files Browse the repository at this point in the history
  • Loading branch information
aorcsik committed Feb 14, 2024
1 parent bf083af commit e989211
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/js/changelog-topic.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,6 @@ changelogService.loadTopic(topicSlugId).then(topic => {
document.getElementById("changelog-topic-title").innerHTML = topic.fancyTitle;
document.getElementById("changelog-topic-meta").innerHTML = topic.createdAt.toLocaleDateString();
document.getElementById("changelog-topic-content").innerHTML = topic.posts[0].cooked;
document.getElementById("changelog-topic-leave-feedback-button").href = `https://discuss.bitrise.io/t/${topic.slug}/${topic.id}`;
document.getElementById("changelog-topic-leave-feedback-button").target = "_blank";
});

0 comments on commit e989211

Please sign in to comment.