mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15:16 +03:00
another run on undefined comparators
This commit is contained in:
parent
644fb5afed
commit
d4f4d619cf
5 changed files with 16 additions and 16 deletions
|
@ -28,7 +28,7 @@ TABS.receiver.initialize = function (callback) {
|
|||
$('.tunings .rate input[name="expo"]').val(RC_tuning.RC_EXPO.toFixed(2));
|
||||
|
||||
chrome.storage.local.get('rx_refresh_rate', function (result) {
|
||||
if (typeof result.rx_refresh_rate != 'undefined') {
|
||||
if (result.rx_refresh_rate) {
|
||||
$('select[name="rx_refresh_rate"]').val(result.rx_refresh_rate).change();
|
||||
} else {
|
||||
$('select[name="rx_refresh_rate"]').change(); // start with default value
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue