[refs #228] fuuuuu...

This commit is contained in:
Alexander Machehin 2012-03-02 21:32:00 +06:00
parent 6bb3d36c81
commit 50fc094bce
1 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,8 @@ $(document).ready(function() {
$(this).addClass('registartion-input-focus').removeClass('registartion-input-error');
}).live('blur', function() {
var id = $(this).attr('id');
if(id == 'user_login') { $(this).val(login_default)}
else if(id == 'user_password') {$(this).val(pass_default)}
if(id == 'user_login' && $(this).val() == '') { $(this).val(login_default)}
else if(id == 'user_password' && $(this).val() == '') { $(this).val(pass_default)}
$(this).addClass('registartion-input-no-focus').removeClass('registartion-input-focus');
});