fix check of input text length for clear button
This commit is contained in:
@ -73,7 +73,7 @@ $(function(){
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(this.$input.val()) {
|
if(this.$input.val().length) {
|
||||||
this.$clear.show();
|
this.$clear.show();
|
||||||
} else {
|
} else {
|
||||||
this.$clear.hide();
|
this.$clear.hide();
|
||||||
|
Reference in New Issue
Block a user