minor: reset search after switching tab in avatar sandbox
This commit is contained in:
parent
099b1c2b21
commit
6d290f5648
1 changed files with 2 additions and 0 deletions
|
|
@ -110,7 +110,9 @@ async function PageLoad() {
|
||||||
Link.classList.add('active');
|
Link.classList.add('active');
|
||||||
Tabs.querySelector(`[data-tab="${TabSelected}"]`).classList.remove('active');
|
Tabs.querySelector(`[data-tab="${TabSelected}"]`).classList.remove('active');
|
||||||
TabSelected = Link.getAttribute('data-tab');
|
TabSelected = Link.getAttribute('data-tab');
|
||||||
|
ItemSearch.previousElementSibling.value = ''
|
||||||
Page = 1;
|
Page = 1;
|
||||||
|
Search = ""
|
||||||
LoadItems();
|
LoadItems();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Reference in a new issue