mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-04-18 19:49:30 +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';
|
||||
|
||||
updateApplyConfigVisibility()
|
||||
// from clients.html
|
||||
updateSearchList()
|
||||
|
||||
});
|
||||
|
||||
|
@ -436,7 +434,6 @@
|
|||
});
|
||||
}
|
||||
|
||||
|
||||
// populateClient function for render new client info
|
||||
// on the client page.
|
||||
function populateClient(client_id) {
|
||||
|
|
|
@ -391,11 +391,12 @@ Wireguard Clients
|
|||
);
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<script>
|
||||
// load client list
|
||||
$(document).ready(function () {
|
||||
updateSearchList();
|
||||
populateClientList();
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue