This commit is contained in:
2025-06-02 14:08:07 +02:00
parent e20347d8fa
commit 8837c4c09e
2 changed files with 2 additions and 2 deletions

View File

@@ -137,7 +137,7 @@ async function loadEvents(org_id: number, evs?: Promise<any>) {
const removeBtn = document.createElement("button");
removeBtn.className = "remove-btn mod-btn";
editBtn.id = "remove-btn";
removeBtn.id = "remove-btn";
removeBtn.setAttribute("data-id", ev.eventId);
removeBtn.title = "Remove event";
removeBtn.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" height="30px" viewBox="0 -960 960 960" width="30px" fill="#FFFFFF"><path d="M280-440h400v-80H280v80ZM480-80q-83 0-156-31.5T197-197q-54-54-85.5-127T80-480q0-83 31.5-156T197-763q54-54 127-85.5T480-880q83 0 156 31.5T763-763q54 54 85.5 127T880-480q0 83-31.5 156T763-197q-54 54-127 85.5T480-80Zm0-80q134 0 227-93t93-227q0-134-93-227t-227-93q-134 0-227 93t-93 227q0 134 93 227t227 93Zm0-320Z"/></svg>`;