Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide telemetry protocols for CRSF, FPORT and GHST #3726

Merged
merged 4 commits into from
Jan 5, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix sonar
haslinghuis committed Jan 5, 2024
commit 7cbb2cb96321abb4640a781ddd125f144b66242f
6 changes: 2 additions & 4 deletions src/js/tabs/firmware_flasher.js
Original file line number Diff line number Diff line change
@@ -215,10 +215,8 @@ firmware_flasher.initialize = function (callback) {
} else {
$('select[name="telemetryProtocols"] option:first').attr('selected', 'selected').text(i18n.getMessage('firmwareFlasherOptionLabelTelemetryProtocolIncluded'));
}
} else {
if ($('select[name="telemetryProtocols"] option[value="-1"]').length) {
$('select[name="telemetryProtocols"] option:first').remove();
}
} else if ($('select[name="telemetryProtocols"] option[value="-1"]').length) {
$('select[name="telemetryProtocols"] option:first').remove();
}
}