Skip to content

Commit f14c66b

Browse files
committed
Fixes from review.
1 parent 33c2899 commit f14c66b

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/js/tabs/configuration.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -196,12 +196,6 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
196196
load_config();
197197

198198
function process_html() {
199-
if (semver.gte(CONFIG.apiVersion, "1.41.0")) {
200-
$('input[name="fpvCamAngleDegrees"]').attr({
201-
"max" : 90
202-
});
203-
}
204-
205199
self.analyticsChanges = {};
206200

207201
var mixer_list_e = $('select.mixerList');
@@ -524,6 +518,9 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
524518

525519
if (semver.gte(CONFIG.apiVersion, "1.31.0")) {
526520
$('input[name="fpvCamAngleDegrees"]').val(RX_CONFIG.fpvCamAngleDegrees);
521+
if (semver.gte(CONFIG.apiVersion, "1.41.0")) {
522+
$('input[name="fpvCamAngleDegrees"]').attr("max", 90);
523+
}
527524
} else {
528525
$('div.fpvCamAngleDegrees').hide();
529526
}

0 commit comments

Comments
 (0)