Shows The Eye permanently in the Confirm Password field in Personal Settings - fix #5167

This commit is contained in:
raghunayyar 2013-10-11 18:32:43 +05:30 committed by Morris Jobke
parent b9bfe31981
commit e961dbaa38
2 changed files with 6 additions and 1 deletions

View File

@ -413,6 +413,7 @@ label.infield { cursor:text !important; top:1.05em; left:.85em; }
#personal-show + label { #personal-show + label {
margin-top: 1em; margin-top: 1em;
margin-left: -3em; margin-left: -3em;
display:inline !important;
} }
#passwordbutton { #passwordbutton {
margin-left: .5em; margin-left: .5em;

View File

@ -38,7 +38,11 @@
'tabindex' : $element.attr('tabindex'), 'tabindex' : $element.attr('tabindex'),
'autocomplete' : 'off' 'autocomplete' : 'off'
}); });
if($element.attr('placeholder') !== undefined) {
$clone.attr('placeholder', $element.attr('placeholder'));
}
return $clone; return $clone;
}; };