Prettified Code!

This commit is contained in:
DJ2LS 2023-02-26 16:54:49 +00:00 committed by GitHub Action
parent 1cdbe74c24
commit 42bde2aa1e

View file

@ -285,7 +285,6 @@ window.addEventListener("DOMContentLoaded", () => {
}); });
pauseButton(document.getElementById("requestUserInfo"), 10000); pauseButton(document.getElementById("requestUserInfo"), 10000);
}); });
document.getElementById("ping").addEventListener("click", () => { document.getElementById("ping").addEventListener("click", () => {
@ -1807,7 +1806,6 @@ function sendUserData(dxcallsign) {
}); });
} }
//Temporarily disable a button with timeout //Temporarily disable a button with timeout
function pauseButton(btn, timems) { function pauseButton(btn, timems) {
btn.disabled = true; btn.disabled = true;
@ -1820,4 +1818,4 @@ function pauseButton(btn, timems) {
btn.innerHTML = curText; btn.innerHTML = curText;
btn.disabled = false; btn.disabled = false;
}, timems); }, timems);
} }