1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-19 06:15:13 +03:00

chore: add comman dangle rule for multiline

This commit is contained in:
Tomas Chmelevskij 2021-12-18 08:21:05 +01:00
parent ae2ef20ce2
commit 03690e087f
43 changed files with 203 additions and 202 deletions

View file

@ -695,7 +695,7 @@ function update_live_status() {
const statuswrapper = $('#quad-status_wrapper');
$(".quad-status-contents").css({
display: 'inline-block'
display: 'inline-block',
});
if (GUI.active_tab !== 'cli' && GUI.active_tab !== 'presets') {
@ -806,25 +806,25 @@ function update_dataflash_global() {
if (supportsDataflash){
$(".noflash_global").css({
display: 'none'
display: 'none',
});
$(".dataflash-contents_global").css({
display: 'block'
display: 'block',
});
$(".dataflash-free_global").css({
width: (100-(FC.DATAFLASH.totalSize - FC.DATAFLASH.usedSize) / FC.DATAFLASH.totalSize * 100) + "%",
display: 'block'
display: 'block',
});
$(".dataflash-free_global div").text('Dataflash: free ' + formatFilesize(FC.DATAFLASH.totalSize - FC.DATAFLASH.usedSize));
} else {
$(".noflash_global").css({
display: 'block'
display: 'block',
});
$(".dataflash-contents_global").css({
display: 'none'
display: 'none',
});
}
}