forked from GithubBackups/healthchecks
Merge pull request #32 from BetterWorks/passwordManager
defer inserting the password field into the dom
This commit is contained in:
commit
96b41ded9b
@ -1,7 +1,9 @@
|
||||
$(function () {
|
||||
var passwordInput = $("#password-block input");
|
||||
passwordInput.detach();
|
||||
$("#password-toggle").click(function() {
|
||||
$("#password-toggle").hide();
|
||||
$("#password-block").removeClass("hide");
|
||||
$("#password-block .input-group").append(passwordInput);
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user