mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
popovers: Fix closing of the left sidebar with "more topics".
This was another case of incorrect logic due to treating the sidebars as popovers for the purposes of .hide_all(). Fixes #12274.
This commit is contained in:
@@ -11,7 +11,7 @@ exports.is_zoomed_in = function () {
|
||||
function zoom_in() {
|
||||
var stream_id = topic_list.active_stream_id();
|
||||
|
||||
popovers.hide_all();
|
||||
popovers.hide_all_except_sidebars();
|
||||
topic_list.zoom_in();
|
||||
stream_list.zoom_in_topics({
|
||||
stream_id: stream_id,
|
||||
@@ -23,7 +23,7 @@ function zoom_in() {
|
||||
exports.zoom_out = function () {
|
||||
var stream_li = topic_list.get_stream_li();
|
||||
|
||||
popovers.hide_all();
|
||||
popovers.hide_all_except_sidebars();
|
||||
topic_list.zoom_out();
|
||||
stream_list.zoom_out_topics();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user