Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
search: Fix bug where textarea placeholder text didn't update for DMs.
evykassirer9265954fd22c
diff --git a/web/src/input_pill.ts b/web/src/input_pill.tsindex 181c890eec1..bca60b73128 100644--- a/web/src/input_pill.ts+++ b/web/src/input_pill.ts@@ -170,10 +170,6 @@ export function create<T>(opts: InputPillCreateOptions<T>): InputPillContainer<Topts.has_status = has_status;}- if (store.onPillCreate !== undefined) {- store.onPillCreate();- }-const pill_html = render_input_pill(opts);const payload: InputPill<T> = {item,@@ -182,6 +178,10 @@ export function create<T>(opts: InputPillCreateOptions<T>): InputPillContainer<Tstore.pills.push(payload);store.$input.before(payload.$element);++ if (store.onPillCreate !== undefined) {+ store.onPillCreate();+ }},// this appends a pill to the end of the container but before the