fix check of input text length for clear button

This commit is contained in:
vitalets 2013-01-18 13:49:20 +04:00
parent e113ab39d2
commit 0e208c1762

@ -73,7 +73,7 @@ $(function(){
return;
}
if(this.$input.val()) {
if(this.$input.val().length) {
this.$clear.show();
} else {
this.$clear.hide();