fix check of input text length for clear button
This commit is contained in:
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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user