1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-23 00:05:22 +03:00

Fix vtx table inputs not always responsive (#1619)

Fix vtx table inputs not always responsive
This commit is contained in:
Michael Keller 2019-09-07 12:32:48 +12:00 committed by GitHub
commit 19f3548fa7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -272,7 +272,7 @@ TABS.vtx.initialize = function (callback) {
}
}
$("#vtx_table_powerlevels").change(showHidePowerlevels).change();
$("#vtx_table_powerlevels").on('input', showHidePowerlevels).trigger('input');
function showHideBands() {
let bandsValue = $(this).val();
@ -282,7 +282,7 @@ TABS.vtx.initialize = function (callback) {
}
}
$("#vtx_table_bands").change(showHideBands).change();
$("#vtx_table_bands").on('input', showHideBands).trigger('input');
function showHideBandChannels() {
let channelsValue = $(this).val();
@ -292,7 +292,7 @@ TABS.vtx.initialize = function (callback) {
}
}
$("#vtx_table_channels").change(showHideBandChannels).change();
$("#vtx_table_channels").on('input', showHideBandChannels).trigger('input');
/*** Helper functions */