Fix resolver warning message not being displayed in setup.

master
Dimitri Huisman 3 years ago
parent 0abbf2ba4a
commit dfd5e441bd

@ -83,7 +83,7 @@ $(document).ready(function() {
$("#ipv6").hide(); $("#ipv6").hide();
} }
}); });
$("#unbound").change(function() { $("#resolver_enabled").change(function() {
if ($(this).is(":checked")) { if ($(this).is(":checked")) {
$("#unbound").hide(); $("#unbound").hide();
} else { } else {

@ -43,7 +43,7 @@ avoid generic all-interfaces addresses like <code>0.0.0.0</code> or <code>::</co
<div class="form-check form-check-inline"> <div class="form-check form-check-inline">
<p>The unbound resolver enables Mailu to do DNSSEC verification, DNS root lookups and caching. This also helps the antispam service not to get blocked by the public or ISP DNS servers.</p> <p>The unbound resolver enables Mailu to do DNSSEC verification, DNS root lookups and caching. This also helps the antispam service not to get blocked by the public or ISP DNS servers.</p>
<label class="form-check-label"> <label class="form-check-label">
<input class="form-check-input" type="checkbox" name="resolver_enabled" value="true" checked> <input class="form-check-input" type="checkbox" id="resolver_enabled" name="resolver_enabled" value="true" checked>
Enable an internal DNS resolver (unbound) Enable an internal DNS resolver (unbound)
</label> </label>
</div> </div>

Loading…
Cancel
Save