diff --git a/static/js/login.js b/static/js/login.js index 178ac0fa..8143d276 100644 --- a/static/js/login.js +++ b/static/js/login.js @@ -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); }); - -}); \ No newline at end of file +});