This commit is contained in:
Timothy Jaeryang Baek committed 2026-02-21 14:39:28 -06:00
1 parent 9f7dd31e12
commit 7e42d727e8
2 files changed
+5 -2

No files matched your search

+1 -1
View File
@@ -431,7 +431,7 @@
// Auto-scroll to the embed once it's rendered in the DOM
await tick();
setTimeout(() => {
const embedEl = document.getElementById(`${event.message_id}-embeds-0`);
const embedEl = document.getElementById(`${event.message_id}-embeds-container`);
if (embedEl) {
embedEl.scrollIntoView({ behavior: 'smooth', block: 'center' });
}