mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Prettified Code!
This commit is contained in:
parent
1cdbe74c24
commit
42bde2aa1e
|
@ -285,7 +285,6 @@ window.addEventListener("DOMContentLoaded", () => {
|
|||
});
|
||||
|
||||
pauseButton(document.getElementById("requestUserInfo"), 10000);
|
||||
|
||||
});
|
||||
|
||||
document.getElementById("ping").addEventListener("click", () => {
|
||||
|
@ -1807,7 +1806,6 @@ function sendUserData(dxcallsign) {
|
|||
});
|
||||
}
|
||||
|
||||
|
||||
//Temporarily disable a button with timeout
|
||||
function pauseButton(btn, timems) {
|
||||
btn.disabled = true;
|
||||
|
@ -1820,4 +1818,4 @@ function pauseButton(btn, timems) {
|
|||
btn.innerHTML = curText;
|
||||
btn.disabled = false;
|
||||
}, timems);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue