mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-22 15:55:33 +03:00
Remove "Return to saved values" button
This commit is contained in:
parent
1fb95591a4
commit
b956ce2162
3 changed files with 1 additions and 14 deletions
|
@ -2357,15 +2357,6 @@ TABS.pid_tuning.changeRatesType = function(rateTypeID) {
|
|||
dialogRatesType.close();
|
||||
});
|
||||
|
||||
$('.dialogRatesType-tosavedbtn').click(function() {
|
||||
self.currentRatesType = RC_tuning.rates_type;
|
||||
$('.rates_type select[id="ratesType"]').val(self.currentRatesType);
|
||||
self.changeRatesTypeLogo();
|
||||
self.changeRatesSystem(true);
|
||||
self.previousRatesType = self.currentRatesType;
|
||||
dialogRatesType.close();
|
||||
});
|
||||
|
||||
$('.dialogRatesType-confirmbtn').click(function() {
|
||||
self.currentRatesType = rateTypeID;
|
||||
self.changeRatesTypeLogo();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue