From ab5ba94a7de8700f8d84a6f8f0685bec519dfec2 Mon Sep 17 00:00:00 2001 From: zombieFox Date: Thu, 27 Dec 2018 15:54:24 -0700 Subject: [PATCH] [bug] fix default theme input colour --- index.html | 2 +- js/search.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 1a636d8c..5c834b4b 100644 --- a/index.html +++ b/index.html @@ -60,7 +60,7 @@
- + diff --git a/js/search.js b/js/search.js index c6f92e76..21801a8d 100644 --- a/js/search.js +++ b/js/search.js @@ -24,9 +24,10 @@ var search = (function() { var searchInput = helper.e(".search-input"); var searchClear = helper.e(".search-clear"); if (searchInput.value != "") { - console.log(1); + // helper.removeClass(searchClear, "is-hidden"); searchClear.removeAttribute("disabled"); } else { + // helper.addClass(searchClear, "is-hidden"); searchClear.setAttribute("disabled", ""); }; };