views_util: Cut import of narrow.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-10-06 22:29:41 -07:00
committed by Tim Abbott
parent e8ced3e74a
commit 63b4e74cea
7 changed files with 45 additions and 46 deletions

View File

@@ -305,6 +305,12 @@ function on_hidden_callback() {
}
}
export function handle_middle_pane_transition() {
if (compose_state.composing) {
update_narrow_to_recipient_visibility();
}
}
export function initialize() {
new dropdown_widget.DropdownWidget({
widget_name: "compose_select_recipient",