Set file upload as default wg config method

This commit is contained in:
billz
2021-07-06 23:11:16 +01:00
parent 84d5584150
commit 1adaca1ea1
2 changed files with 29 additions and 26 deletions

View File

@@ -316,6 +316,10 @@ $('#ovpn-userpw,#ovpn-certs').on('click', function (e) {
}
});
$(document).ready(function(){
$("#PanelManual").hide();
});
$('#wg-upload,#wg-manual').on('click', function (e) {
if (this.id == 'wg-upload') {
$('#PanelManual').hide();