mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 23:13:25 +00:00
compose_state: Make get_or_set accept a full selector.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
daa34685c3
commit
d6be353299
@@ -1117,7 +1117,7 @@ export class MessageListView {
|
||||
// the current compose is bigger than the empty, open
|
||||
// compose box.
|
||||
const compose_textarea_default_height = 42;
|
||||
const compose_textarea_current_height = $("#compose-textarea").height();
|
||||
const compose_textarea_current_height = $("textarea#compose-textarea").height();
|
||||
const expected_change =
|
||||
compose_textarea_current_height - compose_textarea_default_height;
|
||||
const expected_offset = offset - expected_change;
|
||||
|
||||
Reference in New Issue
Block a user