Browse Source

Merge pull request #32 from BetterWorks/passwordManager

defer inserting the password field into the dom
pull/33/head
Pēteris Caune 9 years ago
parent
commit
96b41ded9b
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      static/js/login.js

+ 4
- 2
static/js/login.js View File

@ -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…
Cancel
Save