mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-19 14:25:14 +03:00
Fixes from review.
This commit is contained in:
parent
33c2899e3d
commit
f14c66b5f7
1 changed files with 3 additions and 6 deletions
|
@ -196,12 +196,6 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
|
|||
load_config();
|
||||
|
||||
function process_html() {
|
||||
if (semver.gte(CONFIG.apiVersion, "1.41.0")) {
|
||||
$('input[name="fpvCamAngleDegrees"]').attr({
|
||||
"max" : 90
|
||||
});
|
||||
}
|
||||
|
||||
self.analyticsChanges = {};
|
||||
|
||||
var mixer_list_e = $('select.mixerList');
|
||||
|
@ -524,6 +518,9 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
|
|||
|
||||
if (semver.gte(CONFIG.apiVersion, "1.31.0")) {
|
||||
$('input[name="fpvCamAngleDegrees"]').val(RX_CONFIG.fpvCamAngleDegrees);
|
||||
if (semver.gte(CONFIG.apiVersion, "1.41.0")) {
|
||||
$('input[name="fpvCamAngleDegrees"]').attr("max", 90);
|
||||
}
|
||||
} else {
|
||||
$('div.fpvCamAngleDegrees').hide();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue