mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
sidebar_ui: Allow user to hide right sidebar on any screen width.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import $ from "jquery";
|
||||
import _ from "lodash";
|
||||
import assert from "minimalistic-assert";
|
||||
|
||||
@@ -244,6 +245,7 @@ export function set_cursor_and_filter(): void {
|
||||
|
||||
export function initiate_search(): void {
|
||||
if (user_filter) {
|
||||
$("body").removeClass("hide-right-sidebar");
|
||||
popovers.hide_all();
|
||||
user_filter.initiate_search();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user