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

View file

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