diff --git a/install.php b/install.php index b7add87d..7e627df5 100644 --- a/install.php +++ b/install.php @@ -763,7 +763,10 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') { -
p('Show password') ?>
+
+ + +
@@ -804,7 +807,7 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') { $("#jsshowPassword").on("click", function() { var input = document.getElementById("jspassword"); - if (input.getAttribute("type") == "text") { + if (!$(this).is(':checked')) { input.setAttribute("type", "password"); } else { input.setAttribute("type", "text");