This commit is contained in:
th committed 2026-04-08 23:05:41 +02:00
1 parent e6243701a3
commit cd9dc3e5bc
6 files changed
+142 -31

No files matched your search

+1 -3
View File
@@ -147,10 +147,8 @@ function openOrphanLightbox(file) {
overlay.querySelector('.orphan-lb-create').addEventListener('click', async () => {
const name = file.url.split('/').pop().replace(/\.[^.]+$/, '');
await api('api/cards', { method: 'POST', body: { title: name, body: `![${name}](${file.url})`, color: '#38bdf8', position: -1 } });
await window._reloadAll();
close();
openGallery();
window._openModal({ id: null, title: name, body: `![${name}](${file.url})`, color: '#38bdf8', bucket_id: null });
});
overlay.querySelector('.orphan-lb-delete').addEventListener('click', async () => {