mirror of https://github.com/usememos/memos
fix(web): scope task list item index to memo content container
The closest() selector was targeting a CSS class that never existed on the container, causing fallback to document.body and collecting task items across all visible memos. This caused index collisions when multiple memos with todo lists were on the page. Adds data-memo-content attribute to the container and updates the selector accordingly. Fixes #5635pull/5654/head
parent
2ab476ef2e
commit
b8bca6bacf
Loading…
Reference in New Issue