File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -214,10 +214,10 @@ TuningSliders.updateFilterSlidersDisplay = function() {
214214 $ ( '.pid_filter input[name="gyroLowpass2Frequency"]' ) . val ( ) != Math . round ( this . FILTER_DEFAULT . gyro_lowpass2_hz * this . gyroFilterSliderValue ) ||
215215 $ ( '.pid_filter select[name="gyroLowpass2Type"]' ) . val ( ) != this . FILTER_DEFAULT . gyro_lowpass2_type ) {
216216
217- $ ( '.tuningFilterSliders .sliderLabels tr:first-child ' ) . hide ( ) ;
217+ $ ( '#pidTuningGyroFilterSliderRow ' ) . hide ( ) ;
218218 this . filterGyroSliderUnavailable = true ;
219219 } else {
220- $ ( '.tuningFilterSliders .sliderLabels tr:first-child ' ) . show ( )
220+ $ ( '#pidTuningGyroFilterSliderRow ' ) . show ( )
221221 this . cachedGyroSliderValues = true ;
222222 }
223223
@@ -227,10 +227,10 @@ TuningSliders.updateFilterSlidersDisplay = function() {
227227 $ ( '.pid_filter input[name="dtermLowpass2Frequency"]' ) . val ( ) != Math . round ( this . FILTER_DEFAULT . dterm_lowpass2_hz * this . dtermFilterSliderValue ) ||
228228 $ ( '.pid_filter select[name="dtermLowpass2Type"]' ) . val ( ) != this . FILTER_DEFAULT . dterm_lowpass2_type ) {
229229
230- $ ( '.tuningFilterSliders .sliderLabels tr:last-child ' ) . hide ( ) ;
230+ $ ( '#pidTuningDTermFilterSliderRow ' ) . hide ( ) ;
231231 this . filterDTermSliderUnavailable = true ;
232232 } else {
233- $ ( '.tuningFilterSliders .sliderLabels tr:last-child ' ) . show ( ) ;
233+ $ ( '#pidTuningDTermFilterSliderRow ' ) . show ( ) ;
234234 this . cachedDTermSliderValues = true ;
235235 }
236236
Original file line number Diff line number Diff line change 971971 < span i18n ="pidTuningGyroFilterSlider "> </ span >
972972 </ td >
973973 </ tr >
974- < tr >
974+ < tr id =" pidTuningGyroFilterSliderRow " >
975975 < td class ="sm-min ">
976976 < span i18n ="pidTuningGyroFilterSlider "> </ span >
977977 </ td >
990990 < span i18n ="pidTuningDTermFilterSlider "> </ span >
991991 </ td >
992992 </ tr >
993- < tr >
993+ < tr id =" pidTuningDTermFilterSliderRow " >
994994 < td class ="sm-min ">
995995 < span i18n ="pidTuningDTermFilterSlider "> </ span >
996996 </ td >
You can’t perform that action at this time.
0 commit comments