|
@ -1,6 +1,10 @@ |
|
|
$(function () { |
|
|
$(function () { |
|
|
var passwordInput = $("#password-block input"); |
|
|
var passwordInput = $("#password-block input"); |
|
|
passwordInput.detach(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ($("#password-block").hasClass("hide")) { |
|
|
|
|
|
passwordInput.detach(); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
$("#password-toggle").click(function() { |
|
|
$("#password-toggle").click(function() { |
|
|
$("#password-toggle").hide(); |
|
|
$("#password-toggle").hide(); |
|
|
$("#password-block").removeClass("hide"); |
|
|
$("#password-block").removeClass("hide"); |
|
|