mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-04-19 19:59:13 +03:00
Fix updateSearchList js error (#524)
This commit is contained in:
parent
99104e4295
commit
73108f7f21
2 changed files with 2 additions and 4 deletions
|
@ -396,8 +396,6 @@
|
||||||
toastr.options.positionClass = 'toast-top-right-fix';
|
toastr.options.positionClass = 'toast-top-right-fix';
|
||||||
|
|
||||||
updateApplyConfigVisibility()
|
updateApplyConfigVisibility()
|
||||||
// from clients.html
|
|
||||||
updateSearchList()
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -436,7 +434,6 @@
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// populateClient function for render new client info
|
// populateClient function for render new client info
|
||||||
// on the client page.
|
// on the client page.
|
||||||
function populateClient(client_id) {
|
function populateClient(client_id) {
|
||||||
|
|
|
@ -396,6 +396,7 @@ Wireguard Clients
|
||||||
<script>
|
<script>
|
||||||
// load client list
|
// load client list
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
|
updateSearchList();
|
||||||
populateClientList();
|
populateClientList();
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue