Update firewall.js

This commit is contained in:
midoks
2022-11-20 19:32:09 +08:00
parent 1bfa8e0ac0
commit b988e09d33
+2 -4
View File
@@ -227,8 +227,7 @@ function setMstscStatus(){
layer.confirm(msg,{title:'警告',closeBtn:2,cancel:function(){
if(status == 0){
$("#sshswitch").prop("checked",false);
}
else{
} else {
$("#sshswitch").prop("checked",true);
}
}},function(index){
@@ -257,8 +256,7 @@ function setSshPassStatus(){
layer.confirm(msg,{title:'警告',closeBtn:2,cancel:function(){
if(status == 0){
$("#pass_status").prop("checked",false);
}
else{
} else {
$("#pass_status").prop("checked",true);
}
}},function(index){