mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-16 09:00:42 +08:00
This commit is contained in:
parent
a3c0fecec8
commit
ad00bcd166
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user