diff --git a/dev/dev.html b/dev/dev.html index 3a7d66fc6..434946c96 100644 --- a/dev/dev.html +++ b/dev/dev.html @@ -48,29 +48,16 @@
-
- -
-
- -
-
- -
-
- +
+
diff --git a/js/search.js b/js/search.js index 7107d5317..959604771 100644 --- a/js/search.js +++ b/js/search.js @@ -118,7 +118,7 @@ else { val = this.$input.val(); - if(val!==this.activeSearch){ + if(val!==this.activeSearch || !val){ this.$icon.removeClass(remove).addClass(search); if(val) { this.$element.removeClass('searched'); @@ -126,7 +126,8 @@ else if (this.options.clearOnEmpty){ this.clear(); } - }else{ + } + else{ this.$icon.removeClass(search).addClass(remove); } }