mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-15 12:25:15 +03:00
chore: removenested template literals
This commit is contained in:
parent
8cf9473c88
commit
6e6c3f76ae
3 changed files with 10 additions and 3 deletions
|
@ -167,10 +167,11 @@ TABS.failsafe.initialize = function (callback, scrollPosition) {
|
|||
`);
|
||||
}
|
||||
} else {
|
||||
const messageKey = `controlAxisAux${aux_index++}`;
|
||||
fullChannels_e.append(`\
|
||||
<div class="number">\
|
||||
<div class="channelauxiliary">\
|
||||
<span class="channelname">${ i18n.getMessage(`controlAxisAux${ aux_index++}`) }</span>\
|
||||
<span class="channelname">${ i18n.getMessage(messageKey) }</span>\
|
||||
${ auxAssignment[aux_assignment_index++] }\
|
||||
</div>\
|
||||
<div class="cf_tip channelsetting" title="${ i18n.getMessage("failsafeChannelFallbackSettingsHold") }">\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue