damus.io

damus.io website
git clone git://jb55.com/damus.io
Log | Files | Refs | README | LICENSE

commit 1192cd3b303f9aff200f334198db2667146cb490
parent 0b37f5b3f349601aadfbbcefb9ed462a6654f5f3
Author: William Casarin <jb55@jb55.com>
Date:   Mon, 14 Nov 2022 16:30:49 -0800

web: fix reply event rendering

Diffstat:
Mweb/js/damus.js | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/web/js/damus.js b/web/js/damus.js @@ -1130,7 +1130,8 @@ function reply_to(evid) { replying_to.dataset.evid = evid const ev = DAMUS.all_events[evid] - replying_to.innerHTML = render_event(DAMUS, ev, {is_composing: true, nobar: true, max_depth: 1}) + const view = get_current_view() + replying_to.innerHTML = render_event(DAMUS, view, ev, {is_composing: true, nobar: true, max_depth: 1}) replybox.focus() }