1
0
Fork 0
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:
fgiudice98 2020-03-15 14:18:35 +01:00
parent 1fb95591a4
commit b956ce2162
3 changed files with 1 additions and 14 deletions

View file

@ -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();