Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
deltaflight
Delta Configurator
Commits
620694a3
Unverified
Commit
620694a3
authored
Apr 09, 2021
by
Alexander van Saase
Committed by
GitHub
Apr 09, 2021
Browse files
Merge pull request #1225 from iNavFlight/avs-adjustments-fix
Fix some adjustments not showing in configurator
parents
16f59921
de82231a
Changes
1
Hide whitespace changes
Inline
Side-by-side
tabs/adjustments.js
View file @
620694a3
...
@@ -64,7 +64,7 @@ TABS.adjustments.initialize = function (callback) {
...
@@ -64,7 +64,7 @@ TABS.adjustments.initialize = function (callback) {
// update list of selected functions
// update list of selected functions
var
functionListOptions
=
$
(
functionList
).
find
(
'
option
'
);
var
functionListOptions
=
$
(
functionList
).
find
(
'
option
'
);
var
availableFunctionCount
=
5
3
;
var
availableFunctionCount
=
5
7
;
// Set this to highest adjustment value + 1
var
functionListOptions
=
$
(
functionListOptions
).
slice
(
0
,
availableFunctionCount
);
var
functionListOptions
=
$
(
functionListOptions
).
slice
(
0
,
availableFunctionCount
);
functionList
.
empty
().
append
(
functionListOptions
);
functionList
.
empty
().
append
(
functionListOptions
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment