|
|
|
@ -747,14 +747,8 @@ $(document).ready(function(){ |
|
|
|
|
|
|
|
var setShowPassword = function(input, label) { |
|
|
|
input.showPassword().keyup(function(){ |
|
|
|
if (input.val().length == 0) { |
|
|
|
label.hide(); |
|
|
|
} |
|
|
|
else { |
|
|
|
label.css("display", "inline").show(); |
|
|
|
} |
|
|
|
label.css("display", "inline").show(); |
|
|
|
}); |
|
|
|
label.hide(); |
|
|
|
}; |
|
|
|
setShowPassword($('#adminpass'), $('label[for=show]')); |
|
|
|
setShowPassword($('#pass2'), $('label[for=personal-show]')); |
|
|
|
|