1
Fork 0
mirror of https://github.com/thegeneralist01/archivr synced 2026-07-22 03:05:32 +02:00
archivr/crates/archivr-server/static
TheGeneralist 29a99d0713
fix: move artifact fetch to api.js; stop Escape propagation from lightbox
- Export fetchEntryArtifacts(archiveId, entryUid, indices) from api.js
  using Promise.all + getJson (follows project convention: all /api calls
  go through api.js, never inline fetch in components)
- TweetPreview: import fetchEntryArtifacts, replace inline Promise.all
- MediaLightbox keydown handler: stopPropagation + preventDefault for
  Escape/ArrowLeft/ArrowRight so the parent PreviewModal window listener
  does not also fire and close the modal behind the lightbox
2026-07-12 14:14:31 +02:00
..
assets fix: move artifact fetch to api.js; stop Escape propagation from lightbox 2026-07-12 14:14:31 +02:00
index.html fix: move artifact fetch to api.js; stop Escape propagation from lightbox 2026-07-12 14:14:31 +02:00