diff --git a/tabs/osd.css b/tabs/osd.css index a114a703..2cf70336 100644 --- a/tabs/osd.css +++ b/tabs/osd.css @@ -422,30 +422,30 @@ button { } .tab-osd .alarms label { - display: block; - width:100%; - border-bottom: 1px solid #ddd; - margin-top:5px; - padding-bottom: 5px - } - + display: block; + width:100%; + border-bottom: 1px solid #ddd; + margin-top:5px; + padding-bottom: 5px +} + .tab-osd .alarms label:last-child { - border-bottom: none; - padding-bottom: 0px - } - + border-bottom: none; + padding-bottom: 0px +} + .tab-osd .alarms input { - width: 55px; - padding-left: 3px; - height: 18px; - line-height: 20px; - text-align: left; - border: 1px solid silver; - border-radius: 3px; - margin-right: 11px; - font-size: 11px; - font-weight: normal; - } + width: 55px; + padding-left: 3px; + height: 18px; + line-height: 20px; + text-align: left; + border: 1px solid silver; + border-radius: 3px; + margin-right: 11px; + font-size: 11px; + font-weight: normal; +} .timer-option { float: none !important; diff --git a/tabs/osd.js b/tabs/osd.js index 84ae7e73..c996eff8 100755 --- a/tabs/osd.js +++ b/tabs/osd.js @@ -1065,17 +1065,17 @@ TABS.osd.initialize = function (callback) { // ask for the OSD config data MSP.promise(MSPCodes.MSP_OSD_CONFIG) .then(function(info) { - + OSD.chooseFields(); - + OSD.msp.decode(info); - + if (OSD.data.state.haveSomeOsd == 0) { $('.unsupported').fadeIn(); return; } $('.supported').fadeIn(); - + // show Betaflight logo in preview var $previewLogo = $('.preview-logo').empty(); $previewLogo.append(