Update app.js

This commit is contained in:
Justin
2022-06-11 13:30:16 +08:00
committed by GitHub
parent 382916bfe5
commit a682381d24

View File

@@ -1595,3 +1595,13 @@ if(btnText == "Up to date"){
divClass.classList.add("main-div2");
}
function togglePass() {
var x = document.getElementById("wifi-pass-input");
if (x.type === "password") {
x.type = "text";
} else {
x.type = "password";
}
}