Avoid flicker when narrowing to non-stream view.

(imported from commit a69fd4fe582d56e89990f97a3d3099ea1225315c)
This commit is contained in:
Steve Howell 2013-11-26 10:59:54 -05:00
parent b3e0c93ca6
commit c710a54a99
1 changed files with 4 additions and 0 deletions

View File

@ -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();