fix issue #6
This commit is contained in:
parent
31f694163d
commit
ebfa920a83
2 changed files with 3 additions and 3 deletions
|
@ -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");
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue