1
0
Fork 0
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:
Tomas Chmelevskij 2021-12-19 08:08:16 +01:00
parent 8cf9473c88
commit 6e6c3f76ae
3 changed files with 10 additions and 3 deletions

View file

@ -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") }">\