This commit is contained in:
fyr77 2021-01-06 20:28:55 +01:00
parent 31f694163d
commit ebfa920a83
2 changed files with 3 additions and 3 deletions

View file

@ -154,9 +154,9 @@ function loadPremade() {
var serverUrl = document.getElementById("serverUrl");
provName.value = getCookie("provName");
if (getCookie("doh") == true) {
if (getCookie("doh") == "true") {
checkDoH.checked = true;
} else if (getCookie("doh") == false) {
} else if (getCookie("doh") == "false") {
checkDoT.checked = true;
}
dns1v4.value = getCookie("dns1v4");

View file

@ -33,7 +33,7 @@
<input type="text" id="provName" placeholder="MyCoolSecureProvider" required>
</p>
<p>
<input type="radio" id="doh" name="encryption" value="HTTPS" onclick="switchToHTTPS()" checked="checked" required>
<input type="radio" id="doh" name="encryption" value="HTTPS" onclick="switchToHTTPS()" required>
<label for="doh">DNS-over-HTTPS (DoH)</label><br>
<input type="radio" id="dot" name="encryption" value="TLS" onclick="switchToTLS()" required>
<label for="dot">DNS-over-TLS (DoT)</label>