mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-14 20:10:13 +03:00
Removed release notes from firmware flasher (#3083)
Co-authored-by: J Blackman <blckmn@users.noreply.github.com>
This commit is contained in:
parent
4df7f5b9fb
commit
46f0bb3885
3 changed files with 1 additions and 18 deletions
|
@ -73,16 +73,6 @@ firmware_flasher.initialize = function (callback) {
|
|||
$('div.release_info #cloudTargetInfo').hide();
|
||||
}
|
||||
|
||||
if (summary.notes) {
|
||||
let formattedNotes = summary.notes.replace(/#(\d+)/g, '[#$1](https://github.com/betaflight/betaflight/pull/$1)');
|
||||
formattedNotes = marked.parse(formattedNotes);
|
||||
formattedNotes = DOMPurify.sanitize(formattedNotes);
|
||||
$('div.release_info .notes').html(formattedNotes);
|
||||
GUI.addLinksTargetBlank($('div.release_info .notes'));
|
||||
} else {
|
||||
$('div.release_info .notes').html('Release notes unavailable.');
|
||||
}
|
||||
|
||||
if (self.targets) {
|
||||
$('div.release_info').slideDown();
|
||||
$('.tab-firmware_flasher .content_wrapper').animate({ scrollTop: $('div.release_info').position().top }, 1000);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue