1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-25 17:25:14 +03:00

old mixer section hiden on compatible FC version

This commit is contained in:
Pawel Spychalski (DzikuVx) 2018-03-29 18:20:29 +02:00
parent c1fe0ede87
commit 48c67874f9
2 changed files with 11 additions and 0 deletions

View file

@ -758,6 +758,14 @@ TABS.configuration.initialize = function (callback, scrollPosition) {
}
$('#batterycurrent').val([ANALOG.amperage.toFixed(2)]);
}, 100, true); // 10 fps
/*
* Hide mixer section
*/
if (FC.isNewMixer()) {
$('.mixer').addClass("is-hidden");
}
GUI.content_ready(callback);
}
};