Removes Bogus showpassword js. thx @PVince81

This commit is contained in:
raghunayyar 2013-10-15 14:41:18 +05:30
parent 4eed240296
commit 2def1a8853
1 changed files with 1 additions and 3 deletions

View File

@ -746,9 +746,7 @@ $(document).ready(function(){
});
var setShowPassword = function(input, label) {
input.showPassword().keyup(function(){
label.css("display", "inline").show();
});
input.showPassword().keyup();
};
setShowPassword($('#adminpass'), $('label[for=show]'));
setShowPassword($('#pass2'), $('label[for=personal-show]'));