diff --git a/src/inputs/text.js b/src/inputs/text.js index 1d0683d..b41d717 100644 --- a/src/inputs/text.js +++ b/src/inputs/text.js @@ -73,7 +73,7 @@ $(function(){ return; } - if(this.$input.val()) { + if(this.$input.val().length) { this.$clear.show(); } else { this.$clear.hide();