[bug] fix default theme input colour

This commit is contained in:
zombieFox 2018-12-27 15:54:24 -07:00
parent 4c354d47c4
commit ab5ba94a7d
2 changed files with 3 additions and 2 deletions

View File

@ -60,7 +60,7 @@
</div>
<div class="head-item mb-3 mb-xl-0">
<form class="theme">
<input id="accent-picker" type="color" class="theme-input" value="#000000" tabindex="1">
<input id="accent-picker" type="color" class="theme-input" value="#ffaa33" tabindex="1">
<label class="button mb-0 theme-label" for="accent-picker">
<span class="button-text">Accent</span>
</label>

View File

@ -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", "");
};
};