Skip to content

Commit 0d0ad61

Browse files
committed
Show/hide tiltCompensationSettings correctly
1 parent 6989547 commit 0d0ad61

File tree

1 file changed

+22
-20
lines changed

1 file changed

+22
-20
lines changed

Firmware/RTK_Everywhere/AP-Config/index.html

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -320,27 +320,29 @@
320320
</div>
321321
</div>
322322

323-
<div class="form-check mt-3" id="tiltCompensationSettings">
324-
<label class="form-check-label" for="enableTiltCompensation">Enable Tilt Compensation</label>
325-
<input class="form-check-input" type="checkbox" value="" id="enableTiltCompensation" onClick="tiltCompensationBoxes()">
326-
<span class="tt" data-bs-placement="right"
327-
title="Use tilt compensation. Default: Enabled.">
328-
<span class="icon-info-circle text-primary ms-2"></span>
329-
</span>
330-
</div>
323+
<div id="tiltCompensationSettings">
324+
<div class="form-check mt-3">
325+
<label class="form-check-label" for="enableTiltCompensation">Enable Tilt Compensation</label>
326+
<input class="form-check-input" type="checkbox" value="" id="enableTiltCompensation" onClick="tiltCompensationBoxes()">
327+
<span class="tt" data-bs-placement="right"
328+
title="Use tilt compensation. Default: Enabled.">
329+
<span class="icon-info-circle text-primary ms-2"></span>
330+
</span>
331+
</div>
331332

332-
<div id="poleLengthConfig">
333-
<div class="form-group row">
334-
<label for="tiltPoleLength"
335-
class="col-sm-4 col-6 col-form-label">Pole Length (m):
336-
<span class="tt" data-bs-placement="right"
337-
title="Pole length for tilt compensation. Default: 1.8m">
338-
<span class="icon-info-circle text-primary ms-2"></span>
339-
</span>
340-
</label>
341-
<div class="col-sm-4 col-6">
342-
<input type="number" class="form-control" id="tiltPoleLength">
343-
<p id="tiltPoleLengthError" class="inlineError"></p>
333+
<div id="poleLengthConfig">
334+
<div class="form-group row">
335+
<label for="tiltPoleLength"
336+
class="col-sm-4 col-6 col-form-label">Pole Length (m):
337+
<span class="tt" data-bs-placement="right"
338+
title="Pole length for tilt compensation. Default: 1.8m">
339+
<span class="icon-info-circle text-primary ms-2"></span>
340+
</span>
341+
</label>
342+
<div class="col-sm-4 col-6">
343+
<input type="number" class="form-control" id="tiltPoleLength">
344+
<p id="tiltPoleLengthError" class="inlineError"></p>
345+
</div>
344346
</div>
345347
</div>
346348
</div>

0 commit comments

Comments
 (0)