This commit is contained in:
Vanessa 2022-08-14 11:54:32 +08:00
parent 1faeb1358c
commit cd973ef05b
6 changed files with 19 additions and 6 deletions

View file

@ -343,6 +343,11 @@ export class Graph extends Model {
if (event.isComposing) {
return;
}
if (this.inputElement.value === "") {
this.inputElement.classList.remove("search__input--block")
} else {
this.inputElement.classList.add("search__input--block")
}
this.searchGraph(false);
});
this.element.querySelectorAll(".b3-slider").forEach((item: HTMLInputElement) => {