Skip to content

Commit

Permalink
web/app: scan bsky
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasparada committed Oct 26, 2024
1 parent f2071ce commit b6338fa
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion web/app/components/post-item.js
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,12 @@ function MediaScroller({ urls }) {
div.innerHTML = json.html
items.push(html`${div}`)
setTimeout(() => {
addBskyWidget()
addBskyWidget().then(() => {
if ("bsky" in window) {
// @ts-ignore
window.bsky.scan(div)
}
})
}, 1)
continue
}
Expand Down

0 comments on commit b6338fa

Please sign in to comment.