mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 10:30:13 +01:00
This commit is contained in:
parent
a3c0fecec8
commit
ad00bcd166
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue