From c710a54a997ace4167a3a7eef41ca1824272ca0c Mon Sep 17 00:00:00 2001 From: Steve Howell Date: Tue, 26 Nov 2013 10:59:54 -0500 Subject: [PATCH] Avoid flicker when narrowing to non-stream view. (imported from commit a69fd4fe582d56e89990f97a3d3099ea1225315c) --- static/js/stream_list.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static/js/stream_list.js b/static/js/stream_list.js index 3cce9e63d4..9ae56d02ab 100644 --- a/static/js/stream_list.js +++ b/static/js/stream_list.js @@ -383,6 +383,10 @@ exports.rename_stream = function (sub) { $(function () { $(document).on('narrow_activated.zulip', function (event) { + if (zoomed_to_topics && !active_stream_name()) { + zoom_out(); + } + $("ul.filters li").removeClass('active-filter active-subject-filter'); remove_expanded_subjects();