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 @@ -103,17 +103,17 @@ gps.initialize = async function (callback) {
103103 // Introduced in API 1.43
104104 gpsSbas . push ( i18n . getMessage ( "gpsSbasNone" ) ) ;
105105
106- const gpsProtocolElement = $ ( ".number. gps_protocol" ) ;
106+ const gpsProtocolElement = $ ( ".gps_protocol" ) ;
107107 const gpsAutoBaudElement = $ ( 'input[name="gps_auto_baud"]' ) ;
108108 const gpsAutoBaudGroup = $ ( ".gps_auto_baud" ) ;
109109 const gpsAutoConfigElement = $ ( 'input[name="gps_auto_config"]' ) ;
110110 const gpsAutoConfigGroup = $ ( ".gps_auto_config" ) ;
111111 const gpsUbloxGalileoElement = $ ( 'input[name="gps_ublox_galileo"]' ) ;
112112 const gpsUbloxGalileoGroup = $ ( ".gps_ublox_galileo" ) ;
113- const gpsUbloxSbasElement = $ ( ".number. gps_ubx_sbas" ) ;
114- const gpsUbloxSbasGroup = $ ( ".gps_ubx_sbas " ) ;
113+ const gpsUbloxSbasElement = $ ( ".gps_ubx_sbas" ) ;
114+ const gpsUbloxSbasGroup = gpsUbloxSbasElement . closest ( ".select " ) ;
115115 const gpsHomeOnceElement = $ ( 'input[name="gps_home_once"]' ) ;
116- const gpsBaudrateElement = $ ( ".number. gps_baudrate" ) ;
116+ const gpsBaudrateElement = $ ( ".gps_baudrate" ) ;
117117
118118 for ( let protocolIndex = 0 ; protocolIndex < gpsProtocols . length ; protocolIndex ++ ) {
119119 gpsProtocolElement . append ( `<option value="${ protocolIndex } ">${ gpsProtocols [ protocolIndex ] } </option>` ) ;
Original file line number Diff line number Diff line change 6161 < span class ="freelabel " i18n ="configurationGPSHomeOnce "> </ span >
6262 < div class ="helpicon cf_tip " i18n_title ="configurationGPSHomeOnceHelp "> </ div >
6363 </ div >
64- < div class ="number gps_ubx_sbas ">
64+ < div class ="select ">
6565 < select class ="gps_ubx_sbas ">
6666 <!-- list generated here -->
6767 </ select >
68- < span i18n ="configurationGPSubxSbas "> </ span >
68+ < span class =" freelabel " i18n ="configurationGPSubxSbas "> </ span >
6969 </ div >
7070 </ div >
7171 </ div >
You can’t perform that action at this time.
0 commit comments