Fix updateSearchList js error (#524)

This commit is contained in:
kevin 2024-01-10 03:52:23 +08:00 committed by GitHub
parent 99104e4295
commit 73108f7f21
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

View file

@ -396,8 +396,6 @@
toastr.options.positionClass = 'toast-top-right-fix';
updateApplyConfigVisibility()
// from clients.html
updateSearchList()
});
@ -435,7 +433,6 @@
}
});
}
// populateClient function for render new client info
// on the client page.

View file

@ -391,11 +391,12 @@ Wireguard Clients
);
});
});
}
}
</script>
<script>
// load client list
$(document).ready(function () {
updateSearchList();
populateClientList();
})