Fix deprecated ready function (#3461)

This commit is contained in:
Adam Warner
2025-05-15 18:05:44 +01:00
committed by GitHub
6 changed files with 6 additions and 7 deletions

View File

@@ -214,7 +214,7 @@ function delCNAME(elem) {
});
}
$(document).ready(() => {
$(() => {
$("#btnAdd-host").on("click", () => {
utils.disableAll();
const elem = $("#Hip").val() + " " + $("#Hdomain").val();