This commit is contained in:
Vanessa 2023-04-13 09:27:03 +08:00
parent a3c0fecec8
commit ad00bcd166

View File

@ -346,7 +346,7 @@ export const bazaar = {
bazaar._onBazaar(response, "themes", false);
bazaar._data.themes = response.data.packages;
});
bazaar.element.addEventListener("click", (event) => {
bazaar.element.firstElementChild.addEventListener("click", (event) => {
let target = event.target as HTMLElement;
while (target && !target.isEqualNode(bazaar.element)) {
const type = target.getAttribute("data-type");