Prettified Code!

This commit is contained in:
Mashintime 2023-03-27 21:07:54 +00:00 committed by GitHub Action
parent 3b4be83119
commit 391019a1ce
3 changed files with 18 additions and 19 deletions

View file

@ -3444,8 +3444,7 @@ function changeGuiDesign(design) {
//update path to css file //update path to css file
document.getElementById("bootstrap_theme").href = escape(theme_path); document.getElementById("bootstrap_theme").href = escape(theme_path);
function autostart() function autostart() {
{
//Auto start stuff if option is enabled //Auto start stuff if option is enabled
if (config.auto_start == 1) { if (config.auto_start == 1) {
//Start rigctld if radiocontrol is in correct mode and is not active //Start rigctld if radiocontrol is in correct mode and is not active
@ -3458,6 +3457,6 @@ function changeGuiDesign(design) {
} }
} }
setTimeout(() => { setTimeout(() => {
autostart() autostart();
}, 1250); }, 1250);
} }

View file

@ -2622,8 +2622,8 @@
</div> </div>
<div class="center"> <div class="center">
<div class="badge text-bg-danger"> <div class="badge text-bg-danger">
<i class="bi bi-shield-exclamation"></i> These options are experimental and may <i class="bi bi-shield-exclamation"></i> These options are
not work as expected. experimental and may not work as expected.
</div> </div>
</div> </div>
</div> </div>