[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>
<div class="head-item mb-3 mb-xl-0"> <div class="head-item mb-3 mb-xl-0">
<form class="theme"> <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"> <label class="button mb-0 theme-label" for="accent-picker">
<span class="button-text">Accent</span> <span class="button-text">Accent</span>
</label> </label>

View File

@ -24,9 +24,10 @@ var search = (function() {
var searchInput = helper.e(".search-input"); var searchInput = helper.e(".search-input");
var searchClear = helper.e(".search-clear"); var searchClear = helper.e(".search-clear");
if (searchInput.value != "") { if (searchInput.value != "") {
console.log(1); // helper.removeClass(searchClear, "is-hidden");
searchClear.removeAttribute("disabled"); searchClear.removeAttribute("disabled");
} else { } else {
// helper.addClass(searchClear, "is-hidden");
searchClear.setAttribute("disabled", ""); searchClear.setAttribute("disabled", "");
}; };
}; };