diff --git a/webv2/damus.js b/webv2/damus.js index 911ad6f..60d9f3e 100644 --- a/webv2/damus.js +++ b/webv2/damus.js @@ -555,8 +555,10 @@ const DEFAULT_PROFILE = { display_name: "Anonymous", } -function render_thread_collapsed(model, reply_ev) +function render_thread_collapsed(model, reply_ev, opts) { + if (opts.is_composing) + return "" return `
...
` } @@ -935,7 +937,7 @@ function reply_to(evid) { replying_to.dataset.evid = evid const ev = DSTATE.all_events[evid] - replying_to.innerHTML = render_event(DSTATE, ev, {is_composing: true, nobar: true, max_depth: 2}) + replying_to.innerHTML = render_event(DSTATE, ev, {is_composing: true, nobar: true, max_depth: 1}) modal.style.display = replying? "block" : "none"; } diff --git a/webv2/index.html b/webv2/index.html index e335ad5..638b4e5 100644 --- a/webv2/index.html +++ b/webv2/index.html @@ -6,7 +6,7 @@ Damus - +
@@ -41,7 +41,7 @@ - +