Add comment in JavaScript file about duplicating the password field
authorJef van Schendel <mail@jefvanschendel.nl>
Mon, 26 Mar 2012 18:23:49 +0000 (20:23 +0200)
committerJef van Schendel <mail@jefvanschendel.nl>
Mon, 26 Mar 2012 18:23:49 +0000 (20:23 +0200)
mediagoblin/static/js/show_password.js

index e42d44ea599e89198f3794375e70cd30f4ba1328..b3fbc86224acbb895b038f82bb3bd52046e48254 100644 (file)
@@ -17,6 +17,7 @@
  */
 
 $(document).ready(function(){
+  //Create a duplicate password field. We could change the input type dynamically, but this angers the IE gods (not just IE6).
   $("#password").after('<input type="text" value="" name="password_clear" id="password_clear" /><label><input type="checkbox" id="password_boolean" />Show password</label>');
   $('#password_clear').hide();
   $('#password_boolean').click(function(){