Prepping for v3.0 release

Fetch album assets from timeline endpoint is the major change
This commit is contained in:
Alan Grainger
2026-06-22 06:21:51 +12:00
parent e50d5711fc
commit 494fbe36c7
18 changed files with 808 additions and 117 deletions
+5
View File
@@ -80,6 +80,8 @@ export function registerCaption (lightbox: LightboxInstance) {
}
render()
pswp.on('change', render)
// Re-render when a lazy album item's description arrives after open.
state.slideRefreshers.push(render)
}
})
})
@@ -113,6 +115,9 @@ export function registerDownloadButton (lightbox: LightboxInstance) {
}
update()
pswp.on('change', update)
// Refresh the href/filename when a lazy album item's real download
// filename arrives after open.
state.slideRefreshers.push(update)
}
})
})