#12 first commit

This commit is contained in:
2026-05-16 20:11:51 +02:00
parent fbd47636d1
commit 552c239677
16 changed files with 962 additions and 12 deletions

View File

@@ -7831,6 +7831,15 @@ document.addEventListener('DOMContentLoaded', () => {
} else {
openImageModal(elfe.href);
}
return;
}
// Comment embedded images → open in image modal
const commentImg = e.target.closest('.comment-content img, .comment-attachments img');
if (commentImg) {
e.preventDefault();
e.stopPropagation();
openImageModal(commentImg.src);
}
});
};