Fix vtx table inputs

10.7.0-preview
IvoFPV 2019-09-04 11:23:12 +02:00
parent 054ab5e02a
commit df79e2cb96
1 changed files with 3 additions and 3 deletions

View File

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