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
5d3c5e90
Commit
5d3c5e90
authored
Apr 10, 2021
by
Darren Lines
Browse files
Bug fix for titles when non-FW/MR selected
parent
15dea6b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
tabs/advanced_tuning.html
View file @
5d3c5e90
<div
class=
"tab-configuration tab-advanced-tuning toolbar_fixed_bottom"
>
<div
class=
"content_wrapper"
>
<div
class=
"tab_title"
><span
data-i18n=
"tabAdvancedTuningTitle"
>
Advanced Tuning
</span><span
class=
"airplaneTuning"
>
: Fixed Wing
</span><span
class=
"multirotorTuning"
>
: Multirotors
</span></div>
<div
class=
"tab_title"
><span
data-i18n=
"tabAdvancedTuningTitle"
>
Advanced Tuning
</span><span
class=
"airplaneTuning
Title
"
>
: Fixed Wing
</span><span
class=
"multirotorTuning
Title
"
>
: Multirotors
</span></div>
<!-- Airplane Advanced Tuning-->
<div
class=
"airplaneTuning"
>
...
...
tabs/advanced_tuning.js
View file @
5d3c5e90
...
...
@@ -16,15 +16,21 @@ TABS.advanced_tuning.initialize = function (callback) {
if
(
FC
.
isAirplane
())
{
$
(
'
.airplaneTuning
'
).
show
();
$
(
'
.airplaneTuningTitle
'
).
show
();
$
(
'
.multirotorTuning
'
).
hide
();
$
(
'
.multirotorTuningTitle
'
).
hide
();
$
(
'
.notFixedWingTuning
'
).
hide
();
}
else
if
(
FC
.
isMultirotor
())
{
$
(
'
.airplaneTuning
'
).
hide
();
$
(
'
.airplaneTuningTitle
'
).
hide
();
$
(
'
.multirotorTuning
'
).
show
();
$
(
'
.multirotorTuningTitle
'
).
show
();
$
(
'
.notFixedWingTuning
'
).
show
();
}
else
{
$
(
'
.airplaneTuning
'
).
show
();
$
(
'
.airplaneTuningTitle
'
).
hide
();
$
(
'
.multirotorTuning
'
).
show
();
$
(
'
.multirotorTuningTitle
'
).
hide
();
$
(
'
.notFixedWingTuning
'
).
show
();
}
...
...
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