web: fix threads not getting expanded

This commit is contained in:
William Casarin 2022-11-12 13:34:02 -08:00
parent 67b2461771
commit 331eeb066b
2 changed files with 4 additions and 3 deletions

View file

@ -703,6 +703,8 @@ function expand_thread(id) {
if (ev) {
for (const tag of yield_etags(ev.tags))
DAMUS.expanded.add(tag[1])
} else {
log_debug("expand_thread, id not found?", id)
}
DAMUS.expanded.add(id)
redraw_events(DAMUS)